aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-11-15 21:58:44 +0000
committerUlrich Drepper <drepper@redhat.com>2005-11-15 21:58:44 +0000
commit7761a3ac532d50d500bafc073e02ce17b52be377 (patch)
tree2e6e5b3da897b5afd4da51d51ac16b6b62ecc577 /io
parent1b804a349f2f210df5e9aab35380df513191e334 (diff)
downloadglibc-7761a3ac532d50d500bafc073e02ce17b52be377.zip
glibc-7761a3ac532d50d500bafc073e02ce17b52be377.tar.gz
glibc-7761a3ac532d50d500bafc073e02ce17b52be377.tar.bz2
* io/sys/poll.h: Add comment explaining poll is a cancellation
point. * sysdeps/unix/sysv/linux/sys/epoll.h: Add comment explaining epoll_wait is a cancellation point.
Diffstat (limited to 'io')
-rw-r--r--io/sys/poll.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/io/sys/poll.h b/io/sys/poll.h
index 89a27ea..9cf1b9f 100644
--- a/io/sys/poll.h
+++ b/io/sys/poll.h
@@ -1,5 +1,5 @@
/* Compatibility definitions for System V `poll' interface.
- Copyright (C) 1994,96,97,98,99,2000,2001,2004 Free Software Foundation, Inc.
+ Copyright (C) 1994,1996-2001,2004,2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -44,7 +44,10 @@ __BEGIN_DECLS
FDS. If TIMEOUT is nonzero and not -1, allow TIMEOUT milliseconds for
an event to occur; if TIMEOUT is -1, block until an event occurs.
Returns the number of file descriptors with events, zero if timed out,
- or -1 for errors. */
+ or -1 for errors.
+
+ This function is a cancellation point and therefore not marked with
+ __THROW. */
extern int poll (struct pollfd *__fds, nfds_t __nfds, int __timeout);
__END_DECLS