view modules/poll @ 7886:76f9d13945cd

2007-01-16 Paolo Bonzini <bonzini@gnu.org> * modules/javaexec-script: New, created from... * modules/javaexec: ... this. 2007-01-16 Yoann Vandoorselaere <yoann.v@prelude-ids.com> * modules/poll (Dependencies): Add sys_select.
author Paolo Bonzini <bonzini@gnu.org>
date Tue, 16 Jan 2007 12:43:13 +0000
parents 6a764f23e302
children d41d48e822b4
line wrap: on
line source

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:
sys_select

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_.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>