diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-28 09:54:33 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-31 13:18:52 +0100 |
commit | 08264c8b214c65e7353a726fe74aa8355ee60ee4 (patch) | |
tree | 44d2931955250bd57bfccc993bf9fef7c9b1eb50 /rtemsbsd/include/machine/rtems-bsd-syscall-api.h | |
parent | testsuite: Increase test init task stack size (diff) | |
download | rtems-libbsd-08264c8b214c65e7353a726fe74aa8355ee60ee4.tar.bz2 |
Use poll() from FreeBSD
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-syscall-api.h')
-rw-r--r-- | rtemsbsd/include/machine/rtems-bsd-syscall-api.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-syscall-api.h b/rtemsbsd/include/machine/rtems-bsd-syscall-api.h index d96f1793..f3031a25 100644 --- a/rtemsbsd/include/machine/rtems-bsd-syscall-api.h +++ b/rtemsbsd/include/machine/rtems-bsd-syscall-api.h @@ -45,6 +45,7 @@ #define _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSCALL_API_H_ #include <sys/cdefs.h> +#include <sys/poll.h> #include <sys/select.h> #include <sys/socket.h> #include <sys/sysctl.h> @@ -70,6 +71,8 @@ int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); int listen(int, int); +int poll(struct pollfd _pfd[], nfds_t _nfds, int _timeout); + ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ssize_t recvmsg(int, struct msghdr *, int); |