summaryrefslogtreecommitdiff
path: root/src/libstddjb/fd_select.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-09 16:47:01 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-09 16:47:01 +0000
commit9557ca00615d2a6e68785272357642779db26411 (patch)
tree92422b49b1683a494be7359b7cfd914631c124bb /src/libstddjb/fd_select.c
parentf49a5db1a745e99befbe4c02272e9ffa46b7edf6 (diff)
downloadskalibs-9557ca00615d2a6e68785272357642779db26411.tar.xz
Remove deprecated sig.c and useless select wrapper
Diffstat (limited to 'src/libstddjb/fd_select.c')
-rw-r--r--src/libstddjb/fd_select.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libstddjb/fd_select.c b/src/libstddjb/fd_select.c
deleted file mode 100644
index 846485d..0000000
--- a/src/libstddjb/fd_select.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/* ISC license. */
-
-#include <sys/types.h>
-#include <errno.h>
-#include <sys/select.h>
-
-int fd_select (int n, fd_set *rfds, fd_set *wfds, fd_set *xfds, struct timeval *tv)
-{
- register int r ;
- do
- r = select(n, rfds, wfds, xfds, tv) ;
- while ((r == -1) && (errno == EINTR)) ;
- return r ;
-}