aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-03-29 22:31:44 -0700
committerUlrich Drepper <drepper@redhat.com>2010-03-29 22:31:44 -0700
commit6d28d423b2e47ad3534fb8807f4b0f31c2c0fa9a (patch)
tree83000549bc918a9ad89f6b04fb9db798dad96f43
parentab61c641c21abaf58eda5198019db83657beb699 (diff)
downloadglibc-6d28d423b2e47ad3534fb8807f4b0f31c2c0fa9a.tar
glibc-6d28d423b2e47ad3534fb8807f4b0f31c2c0fa9a.tar.gz
glibc-6d28d423b2e47ad3534fb8807f4b0f31c2c0fa9a.tar.bz2
glibc-6d28d423b2e47ad3534fb8807f4b0f31c2c0fa9a.zip
Define MSG_WAITFORONE.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/bits/socket.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b70500d5c..55b4d843f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-29 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_WAITFORONE.
+
2010-03-28 Thomas Schwinge <thomas@schwinge.name>
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Adapt to auxv
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
index aa78087a72..dba3a3914b 100644
--- a/sysdeps/unix/sysv/linux/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
@@ -1,5 +1,5 @@
/* System-specific socket constants and types. Linux version.
- Copyright (C) 1991, 1992, 1994-2001, 2004, 2006, 2007, 2008, 2009
+ Copyright (C) 1991, 1992, 1994-2001, 2004, 2006, 2007, 2008, 2009, 2010
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -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