Project

General

Profile

Feature #3713

Implement accept4()

Added by Theo Schlossnagle over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Category:
lib - userland libraries
Start date:
2013-04-11
Due date:
% Done:

0%

Estimated time:
3.00 h
Difficulty:
Medium
Tags:
needs-triage

Description

Implement an accept4() socket library call that takes accept() arguments plus an int flag.

flags is a inclusive bitwise-OR of SOCK_CLOEXEC, SS_NDELAY, and SS_NONBLOCK.

History

#1

Updated by Garrett D'Amore over 6 years ago

  • Status changed from New to Resolved

garrett@openindiana{115}> git log
commit 5dbfd19ad5fcc2b779f40f80fa05c1bd28fd0b4e
Author: Theo Schlossnagle <>
Date: Thu Apr 11 04:50:36 2013 +0000

3713 Implement accept4()
3714 Implement pipe2()
3715 Implement dup3()
3716 Implement mkostemp() and mkostemps()
3719 so_socketpair syscall should preserve FD_CLOEXEC flag
Reviewed by: Dan McDonald &lt;&gt;
Reviewed by: Robert Mustacchi &lt;&gt;
Approved by: Garrett D'Amore &lt;&gt;

Also available in: Atom PDF