2002-10-30 05:33:16 +03:00
|
|
|
/*
|
2004-06-15 19:49:34 +04:00
|
|
|
** Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
2002-10-30 05:33:16 +03:00
|
|
|
** Distributed under the terms of the OpenBeOS License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include <poll.h>
|
|
|
|
#include <syscalls.h>
|
|
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
poll(struct pollfd *fds, nfds_t numfds, int timeout)
|
|
|
|
{
|
2004-06-15 19:49:34 +04:00
|
|
|
return _kern_poll(fds, numfds, timeout * 1000LL);
|
2002-10-30 05:33:16 +03:00
|
|
|
}
|
|
|
|
|