summaryrefslogtreecommitdiff
path: root/modules/poll
blob: 7779e2a2d1d492269cf97dd4942f800053c77cac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description:
poll() function: wait for some event on a set of file descriptors.

Files:
lib/poll.c
lib/poll_.h
m4/poll.m4

Depends-on:

configure.ac:
gl_FUNC_POLL

Makefile.am:
BUILT_SOURCES += $(POLL_H)
EXTRA_DIST += poll_.h poll.c

# 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>

License:
LGPL

Maintainer:
Paolo Bonzini  <bonzini@gnu.org>