Files:
lib/poll.c
-lib/poll_.h
m4/poll.m4
Depends-on:
+poll-h
+alloca
+select
sys_select
sys_time
+errno
configure.ac:
gl_FUNC_POLL
+gl_POLL_MODULE_INDICATOR([poll])
Makefile.am:
-BUILT_SOURCES += $(POLL_H)
-
-# We need the following in order to create <poll.h> when the system
-# doesn't have one.
-poll.h: poll_.h
- { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
- cat $(srcdir)/poll_.h; \
- } > $@-t
- mv -f $@-t $@
-MOSTLYCLEANFILES += poll.h poll.h-t
Include:
-#include <poll.h>
+<poll.h>
License:
LGPLv2+