about summary refs log tree commit diff
path: root/include/sys/socket.h
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2012-05-10 12:53:02 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-10 15:57:22 -0700
commiteb43375f0f7640a32fd6c67b94291419acb872d8 (patch)
tree75a8f75ddd068870b245681466e908c8ec08e02a /include/sys/socket.h
parentbcf5524012216fee3a7668a3b43aad3243a083b0 (diff)
downloadglibc-eb43375f0f7640a32fd6c67b94291419acb872d8.tar.gz
glibc-eb43375f0f7640a32fd6c67b94291419acb872d8.tar.xz
glibc-eb43375f0f7640a32fd6c67b94291419acb872d8.zip
Hurd: accept4
Diffstat (limited to 'include/sys/socket.h')
-rw-r--r--include/sys/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 2ae3428bdd..eac82136dd 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -135,6 +135,9 @@ extern int __libc_accept (int __fd, __SOCKADDR_ARG __addr,
 			  socklen_t *__restrict __addr_len)
      __THROW;
 libc_hidden_proto (accept)
+extern int __libc_accept4 (int __fd, __SOCKADDR_ARG __addr,
+			   socklen_t *__restrict __addr_len, int __flags)
+     __THROW;
 
 /* Return the length of a `sockaddr' structure.  */
 #ifdef _HAVE_SA_LEN