view modules/poll @ 17632:86af85d364e1 default tip

unistd: port readlink to Mac OS X 10.3.9 * lib/unistd.in.h (_GL_INCLUDING_UNISTD_H): New macro, to work around self-include problem in Mac OS X 10.3.9 when combined with readlink module. Problem reported by Klaus Zietler in <http://bugs.gnu.org/16825>.
author Paul Eggert <eggert@penguin.cs.ucla.edu>
date Tue, 25 Feb 2014 11:16:27 -0800
parents 3a4d1597833c
children
line wrap: on
line source

Description:
poll() function: wait for some event on a set of file descriptors.

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

Depends-on:
poll-h
alloca          [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
select          [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
sockets         [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
sys_select      [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
sys_time        [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
errno           [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]
msvc-nothrow    [test $HAVE_POLL = 0 || test $REPLACE_POLL = 1]

configure.ac:
gl_FUNC_POLL
if test $HAVE_POLL = 0 || test $REPLACE_POLL = 1; then
  AC_LIBOBJ([poll])
  gl_PREREQ_POLL
fi
gl_POLL_MODULE_INDICATOR([poll])

Makefile.am:

Include:
<poll.h>

Link:
$(LIB_POLL)

License:
LGPLv2+

Maintainer:
Paolo Bonzini  <bonzini@gnu.org>