about summary refs log tree commit diff
path: root/socket/sys/socket.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-06-01 09:27:15 +0000
committerUlrich Drepper <drepper@redhat.com>2001-06-01 09:27:15 +0000
commitb504171963774acaeb363080407155765a509d1a (patch)
treec2d4e07dbb5995a522d5320aa4625b8d081bc8a9 /socket/sys/socket.h
parent4d651ddce3203105984eb8b44b0a81a5b39b8382 (diff)
downloadglibc-b504171963774acaeb363080407155765a509d1a.tar.gz
glibc-b504171963774acaeb363080407155765a509d1a.tar.xz
glibc-b504171963774acaeb363080407155765a509d1a.zip
Update.
2001-06-01  Ulrich Drepper  <drepper@redhat.com>

	* socket/Makefile (routines): Add sockatmark.
	* socket/Versions [GLIBC_2.2.4]: Add sockatmark.
	* socket/sys/socket.h: Add prototype for sockatmark.
	* sysdeps/generic/sockatmark.c: New file.
	* sysdeps/unix/sockatmark.c: New file.
Diffstat (limited to 'socket/sys/socket.h')
-rw-r--r--socket/sys/socket.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/socket/sys/socket.h b/socket/sys/socket.h
index 7ccb7dd8d0..3ff4fc5fa2 100644
--- a/socket/sys/socket.h
+++ b/socket/sys/socket.h
@@ -199,6 +199,12 @@ extern int accept (int __fd, __SOCKADDR_ARG __addr,
 extern int shutdown (int __fd, int __how) __THROW;
 
 
+#ifdef __USE_XOPEN2K
+/* Determine wheter socket is at a out-of-band mark.  */
+extern int sockatmark (int __fd) __THROW;
+#endif
+
+
 #ifdef __USE_MISC
 /* FDTYPE is S_IFSOCK or another S_IF* macro defined in <sys/stat.h>;
    returns 1 if FD is open on an object of the indicated type, 0 if not,