From: Muli Ben-Yehuda (mulix_at_nonexisting.hamakor.org.il)
Date: Wed 25 Aug 2004 - 08:15:55 IDT
On Wed, Aug 25, 2004 at 12:40:15AM +0300, Omer Zak wrote:
> In file included from test_epoll.c:4:
> /usr/include/sys/epoll.h:60: parse error before "uint32_t"
> /usr/include/sys/epoll.h:66: parse error before "uint32_t"
> test_epoll.c: In function `main':
> test_epoll.c:14: storage size of `event' isn't known
You have old epoll headers.
> I added #include <stdint.h> before #include <sys/epoll.h> and the file
> passed compilation but not linking. I was not successful in figuring
> out which library contains the epoll functions.
The kernel provides the implementation; glibc provides the syscall
wrappers.
> My system is RedHat 8.0, with almost no upgrades.
> There is no manpage for epoll functions.
Old system. Quoting the man page:
CONFORMING TO
epoll(4) is a new API introduced in Linux kernel 2.5.44. Its interface
should be finalized in Linux kernel 2.5.66.
Cheers,
Muli
=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il
This archive was generated by hypermail 2.1.7 : Wed 25 Aug 2004 - 08:27:28 IDT