Differences between version 5 and previous revision of socketpair(2).
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 5 | Last edited on Saturday, May 31, 2003 3:17:45 am | by PerryLorier | Revert |
Older page: | version 4 | Last edited on Saturday, May 31, 2003 3:11:49 am | by PerryLorier | Revert |
@@ -15,13 +15,18 @@
On success, zero is returned. On error, -1 is returned, and ''errno'' is set appropriately.
!!ERRORS
;[EMFILE]: Too many descriptors are in use by this process.
+;[ENFILE]: Not enough file descriptors available system wide.
;[EAFNOSUPPORT]: The specified address family is not supported on this machine.
;[EPROTONOSUPPORT]: The specified protocol is not supported on this machine.
;[EOPNOSUPPORT]: The specified protocol does not support creation of socket pairs.
;[EFAULT]: The address ''sv'' does not specify a valid part of the process address space.
+;[ENOMEM]: Insufficient memory was available to fulfill the request.
+;[ENOBUFS]: Insufficient resources were available in the system to perform the operation.
+;[EACCES]: Permission denied (Documented by [POSIX])
+
!!CONFORMING TO
4.4BSD (the __socketpair__ function call appeared in 4.2BSD). Generally portable to/from non-BSD systems supporting clones of the BSD socket layer (including System
V variants).
!!SEE ALSO
read(2), write(2), pipe(2)