view modules/poll @ 7268:e476bb105193

Fix global typo in last change: use chmod u-w, not chmod u-x. Spotted by Paul Eggert and Bruce Korb. * modules/alloca-opt, modules/argz, modules/arpa_inet: * modules/byteswap, modules/configmake, modules/fcntl: * modules/fnmatch, modules/getopt, modules/glob, modules/inttypes: * modules/localcharset, modules/netinet_in, modules/poll: * modules/stdbool, modules/stdint, modules/sys_select: * modules/sys_socket, modules/sys_stat, modules/sysexits:
author Jim Meyering <jim@meyering.net>
date Thu, 07 Sep 2006 05:53:52 +0000
parents 8dffb67501b7
children 9ff9e0f3d681
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:

configure.ac:
gl_FUNC_POLL

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

# We need the following in order to create <poll.h> when the system
# doesn't have one.
poll.h: poll_.h
	rm -f $@-t $@
	cp $(srcdir)/poll_.h $@-t
	chmod a-w $@-t
	mv $@-t $@
MOSTLYCLEANFILES += poll.h poll.h-t

Include:
#include <poll.h>

License:
LGPL

Maintainer:
Paolo Bonzini  <bonzini@gnu.org>