Edit

kc3-lang/gnulib/modules/poll

Branch :

  • Show log

    Commit

  • Author : Bruno Haible
    Date : 2010-09-29 01:00:17
    Hash : 11f1d3a9
    Message : New module 'poll-h'. * lib/poll.in.h: Include c++defs.h and warn-on-use.h. (poll): Use modern idiom. * modules/poll-h: New file. * modules/poll (Files): Remove lib/poll.in.h. (Depends-on): Add poll-h. (configure.ac): Invoke gl_POLL_MODULE_INDICATOR. (Makefile.am): Move code for generation of poll.h to modules/poll-h. * m4/poll_h.m4: New file. * m4/poll.m4 (gl_FUNC_POLL): Require gl_POLL_H. Don't check for poll.h here. Don't set POLL_H here. Instead, set HAVE_POLL and REPLACE_POLL and invoke gl_REPLACE_POLL_H. * lib/poll.c: Use common idiom. * tests/test-poll.c: Likewise. * doc/posix-headers/poll.texi: Mention the poll-h module. Suggested by Eric Blake.

  • modules/poll
  • 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
    select
    sys_select
    sys_time
    errno
    
    configure.ac:
    gl_FUNC_POLL
    gl_POLL_MODULE_INDICATOR([poll])
    
    Makefile.am:
    
    Include:
    <poll.h>
    
    License:
    LGPLv2+
    
    Maintainer:
    Paolo Bonzini  <bonzini@gnu.org>