haiku/src/kernel/libroot/posix/poll.c

17 lines
297 B
C
Raw Normal View History

/*
** Copyright 2002, Axel Dörfler, axeld@pinc-software.de. 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);
}