File: poll

package info (click to toggle)
gnulib 20100704%2Bstable-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 52,504 kB
  • ctags: 17,021
  • sloc: ansic: 198,371; sh: 19,713; yacc: 1,219; cpp: 1,048; perl: 774; lisp: 271; makefile: 192; java: 5
file content (39 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
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
35
36
37
38
39
Description:
poll() function: wait for some event on a set of file descriptors.

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

Depends-on:
alloca
select
sys_select
sys_time
errno

configure.ac:
gl_FUNC_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.in.h
	$(AM_V_GEN)rm -f $@-t $@ && \
	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
	  cat $(srcdir)/poll.in.h; \
	} > $@-t && \
	mv -f $@-t $@
MOSTLYCLEANFILES += poll.h poll.h-t

Include:
<poll.h>

License:
LGPLv2+

Maintainer:
Paolo Bonzini  <bonzini@gnu.org>