Files
haiku-beta6/src/kernel/libroot/posix/poll.c
T
Axel Dörfler dbf1da160b Userland implementations for select(), pselect(), and poll().
Not yet added to the build because other stuff is missing, and there is
a problem with jam I have to sort out before I add the missing things.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 02:33:16 +00:00

17 lines
297 B
C

/*
** Copyright 2002, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
*/
#include <poll.h>
#include <syscalls.h>
int
poll(struct pollfd *fds, nfds_t numfds, int timeout)
{
return sys_poll(fds, numfds, timeout * 1000LL);
}