From: roland Date: Sun, 16 Oct 1994 23:30:46 +0000 (+0000) Subject: (Error Codes): Say that ENOTCONN is instead EDESTADDRREQ for connectionless X-Git-Tag: mib-28oct94~88 X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=commitdiff_plain;h=29fc54a9fff4607ac0a14ef8557b68c32f80e866 (Error Codes): Say that ENOTCONN is instead EDESTADDRREQ for connectionless sockets. --- diff --git a/manual/errno.texi b/manual/errno.texi index 762d471186..25338bc46d 100644 --- a/manual/errno.texi +++ b/manual/errno.texi @@ -422,12 +422,6 @@ A file that isn't a socket was specified when a socket is required. @end deftypevr @comment errno.h -@comment BSD: Destination address required -@deftypevr Macro int EDESTADDRREQ -No destination address was supplied on a socket operation that needed one. -@end deftypevr - -@comment errno.h @comment BSD: Message too long @deftypevr Macro int EMSGSIZE The size of a message sent on a socket was larger than the supported @@ -548,8 +542,15 @@ You tried to connect a socket that is already connected. @comment BSD: Socket is not connected @deftypevr Macro int ENOTCONN The socket is not connected to anything. You get this error when you -try to transmit data over a socket, without first specifying a destination -for the data. +try to transmit data over a socket, without first specifying a +destination for the data. For a connectionless socket (for datagram +protocols, such as UDP), you get @code{EDESTADDRREQ} instead. +@end deftypevr + +@comment errno.h +@comment BSD: Destination address required +@deftypevr Macro int EDESTADDRREQ +No destination address was supplied on a socket operation that needed one. @end deftypevr @comment errno.h