2006-04-13 Joel Sherrill <joel@OARcorp.com>

PR 949/networking
	* libnetworking/sys/socket.h: GNU/Linux is wrong in making
        MSG_DONTWAIT public.  It is strictly BSD and not SUSV.  See
        http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/socket.h.html        for clarification.
This commit is contained in:
Joel Sherrill
2006-04-13 13:03:29 +00:00
parent 6654e25ea2
commit f18ebd2ee6

View File

@@ -317,8 +317,8 @@ struct msghdr {
#define MSG_TRUNC 0x10 /* data discarded before delivery */
#define MSG_CTRUNC 0x20 /* control data lost before delivery */
#define MSG_WAITALL 0x40 /* wait for full request or error */
#define MSG_DONTWAIT 0x80 /* this message should be nonblocking */
#if __BSD_VISIBLE
#define MSG_DONTWAIT 0x80 /* this message should be nonblocking */
#define MSG_EOF 0x100 /* data completes connection */
#define MSG_COMPAT 0x8000 /* used in sendit() */
#endif