[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#261541: sys/epoll.h: missing #define for EPOLLONESHOT



Package: libc6-dev
Version: 2.3.2.ds1-13
Severity: normal

The epoll(4) and epoll_ctl(2) manpages talk about the event flag,
EPOLLONESHOT, but the file /usr/include/sys/epoll.h contains no 
declaration for this.  Checking in a recent vanilla kernal(2.6.7),
this is defined in include/linux/eventpoll.h and used in 
fs/eventpoll.c, so it seems that it is supported by the kernel.
Googling did not reveal any signs that it was deprecated, so it 
would be nice if userland programs could make use of this flag.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.3
Locale: LANG=C, LC_CTYPE=C

Versions of packages libc6-dev depends on:
ii  libc6                2.3.2.ds1-13        GNU C Library: Shared libraries an
ii  linux-kernel-headers 2.5.999-test7-bk-16 Linux Kernel Headers for developme

-- no debconf information



Reply to: