diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-08-27 07:56:52 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-08-27 07:56:52 +0000 |
| commit | eab64696560342842ccc8c0a01ff5b7630d5bb75 (patch) | |
| tree | 2be395244c4d3a0fefa926716eea776acb7bf1bc /man7/unix.7 | |
| parent | 0dd0df4e49fe07cc83b9db5f9e8ec2ccb4ecfaed (diff) | |
| download | man-pages-eab64696560342842ccc8c0a01ff5b7630d5bb75.tar.gz | |
Order ERRORS alphabetically.
Diffstat (limited to 'man7/unix.7')
| -rw-r--r-- | man7/unix.7 | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/man7/unix.7 b/man7/unix.7 index 887c1d8eb8..cf873d5b6a 100644 --- a/man7/unix.7 +++ b/man7/unix.7 @@ -198,8 +198,9 @@ message the option must be enabled on the socket. .SH ERRORS .TP -.B ENOMEM -Out of memory. +.B EADDRINUSE +Selected local address is already taken or filesystem socket +object already exists. .TP .B ECONNREFUSED .BR connect (2) @@ -207,6 +208,12 @@ called with a socket object that isn't listening. This can happen when the remote socket does not exist or the filename is not a socket. .TP +.B ECONNRESET +Remote socket was unexpectedly closed. +.TP +.B EFAULT +User memory address was not valid. +.TP .B EINVAL Invalid argument passed. A common cause is the missing setting of AF_UNIX @@ -215,36 +222,24 @@ in the field of passed addresses or the socket being in an invalid state for the applied operation. .TP -.B EOPNOTSUPP -Stream operation called on non-stream oriented socket or tried to -use the out-of-band data option. -.TP -.B EPROTONOSUPPORT -Passed protocol is not PF_UNIX. -.TP -.B ESOCKTNOSUPPORT -Unknown socket type. -.TP -.B EPROTOTYPE -Remote socket does not match the local socket type -.RB ( SOCK_DGRAM -vs. -.BR SOCK_STREAM ) -.TP -.B EADDRINUSE -Selected local address is already taken or filesystem socket -object already exists. -.TP .B EISCONN .BR connect (2) called on an already connected socket or a target address was specified on a connected socket. .TP +.B ENOMEM +Out of memory. +.TP .B ENOTCONN Socket operation needs a target address, but the socket is not connected. .TP -.B ECONNRESET -Remote socket was unexpectedly closed. +.B EOPNOTSUPP +Stream operation called on non-stream oriented socket or tried to +use the out-of-band data option. +.TP +.B EPERM +The sender passed invalid credentials in the +.IR "struct ucred" . .TP .B EPIPE Remote socket was closed on a stream socket. @@ -258,12 +253,17 @@ flag to or .BR recvmsg (2). .TP -.B EFAULT -User memory address was not valid. +.B EPROTONOSUPPORT +Passed protocol is not PF_UNIX. .TP -.B EPERM -The sender passed invalid credentials in the -.IR "struct ucred" . +.B EPROTOTYPE +Remote socket does not match the local socket type +.RB ( SOCK_DGRAM +vs. +.BR SOCK_STREAM ) +.TP +.B ESOCKTNOSUPPORT +Unknown socket type. .PP Other errors can be generated by the generic socket layer or by the filesystem while generating a filesystem socket object. |
