mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user