From b504171963774acaeb363080407155765a509d1a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 1 Jun 2001 09:27:15 +0000 Subject: Update. 2001-06-01 Ulrich Drepper * 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. --- socket/sys/socket.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'socket/sys') diff --git a/socket/sys/socket.h b/socket/sys/socket.h index 7ccb7dd..3ff4fc5 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 ; returns 1 if FD is open on an object of the indicated type, 0 if not, -- cgit v1.1