summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-21 21:55:48 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:40 +0200
commit6c7c4fb8e1ff2d7d170af3f50acd4cdc30f608f6 (patch)
treedf06b67a79e74e9c1b2612edc859bf25a61676e9 /include/sys
parente4b5997fc1cea7eeaad155aad02b8b1997143874 (diff)
select: adapt cancelation to use cancel.h
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/select.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/select.h b/include/sys/select.h
index 6ffe4e221..5436e20a0 100644
--- a/include/sys/select.h
+++ b/include/sys/select.h
@@ -110,7 +110,10 @@ extern int select (int __nfds, fd_set *__restrict __readfds,
fd_set *__restrict __writefds,
fd_set *__restrict __exceptfds,
struct timeval *__restrict __timeout);
+#ifdef _LIBC
+extern __typeof(select) __select_nocancel attribute_hidden;
libc_hidden_proto(select)
+#endif
#ifdef __USE_XOPEN2K
/* Same as above only that the TIMEOUT value is given with higher