view modules/poll @ 10812:a672954bb892

New module 'servent'.
author Bruno Haible <bruno@clisp.org>
date Sun, 16 Nov 2008 05:02:40 +0100
parents f96117307f4a
children 2de4c4d41f01
line wrap: on
line source

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