aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2010-03-30 07:50:27 -0700
committerRichard Henderson <rth@twiddle.net>2010-03-30 07:50:27 -0700
commit8eb49e8ae8161f7736697196bc26372f4f4d1f82 (patch)
tree33145ca95c5e4103f6d85791aff3a5e8bdb6c57a
parent3648b8073b534d49b157cd0c071934697b9de300 (diff)
downloadglibc-8eb49e8ae8161f7736697196bc26372f4f4d1f82.tar.xz
glibc-8eb49e8ae8161f7736697196bc26372f4f4d1f82.zip
alpha: Define MSG_WAITFORONE.
Signed-off-by: Richard Henderson <rth@twiddle.net>
-rw-r--r--ChangeLog.alpha4
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/socket.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index c1be819c18..80c57d3c2c 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -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.
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/socket.h b/sysdeps/unix/sysv/linux/alpha/bits/socket.h
index dedf8bc8be..a39629cc53 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/socket.h
@@ -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