alpha: Define MSG_WAITFORONE.
authorRichard Henderson <rth@twiddle.net>
Tue, 30 Mar 2010 14:50:27 +0000 (07:50 -0700)
committerRichard Henderson <rth@twiddle.net>
Tue, 30 Mar 2010 14:50:27 +0000 (07:50 -0700)
Signed-off-by: Richard Henderson <rth@twiddle.net>
ChangeLog.alpha
sysdeps/unix/sysv/linux/alpha/bits/socket.h

index c1be819..80c57d3 100644 (file)
@@ -1,3 +1,7 @@
+2010-03-30  Richard Henderson  <rth@redhat.com>
+
+       * sysdeps/unix/sysv/linux/alpha/bits/socket.h (MSG_WAITFORONE): New.
+
 2010-03-30  Matt Turner  <mattst88@gmail.com>
 
        * sysdeps/unix/sysv/linux/alpha/kernel-features.h: New.
index dedf8bc..a39629c 100644 (file)
@@ -232,6 +232,8 @@ enum
 #define        MSG_NOSIGNAL    MSG_NOSIGNAL
     MSG_MORE           = 0x8000,  /* Sender will send more.  */
 #define        MSG_MORE        MSG_MORE
+    MSG_WAITFORONE     = 0x10000, /* Wait for at least one packet to return.*/
+#define MSG_WAITFORONE MSG_WAITFORONE
 
     MSG_CMSG_CLOEXEC   = 0x40000000    /* Set close_on_exit for file
                                           descriptor received through