summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/machine/rtems-bsd-syscall-api.h
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-syscall-api.h')
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-syscall-api.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-syscall-api.h b/rtemsbsd/include/machine/rtems-bsd-syscall-api.h
index f3031a25..0358df6b 100644
--- a/rtemsbsd/include/machine/rtems-bsd-syscall-api.h
+++ b/rtemsbsd/include/machine/rtems-bsd-syscall-api.h
@@ -45,10 +45,13 @@
#define _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSCALL_API_H_
#include <sys/cdefs.h>
+#include <sys/types.h>
+#include <sys/event.h>
#include <sys/poll.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <sys/sysctl.h>
+#include <sys/time.h>
__BEGIN_DECLS
@@ -69,6 +72,12 @@ int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict);
+int kqueue(void);
+
+int kevent(int kq, const struct kevent *changelist, int nchanges,
+ struct kevent *eventlist, int nevents,
+ const struct timespec *timeout);
+
int listen(int, int);
int poll(struct pollfd _pfd[], nfds_t _nfds, int _timeout);