File: poll

package info (click to toggle)
gnulib 20080701-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 35,032 kB
  • ctags: 13,484
  • sloc: ansic: 140,585; sh: 15,049; yacc: 1,227; perl: 706; lisp: 270; makefile: 118; java: 5
file content (36 lines) | stat: -rw-r--r-- 583 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
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:
sys_select
sys_time
EOVERFLOW

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

Include:
#include <poll.h>

License:
LGPLv2+

Maintainer:
Paolo Bonzini  <bonzini@gnu.org>