summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/machine/rtems-bsd-syscall-api.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-10 11:29:33 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-31 13:18:47 +0100
commitcaf8eded604451144928433767eb05923230cd97 (patch)
treeee5cc08834d4608b1b541162626ed373e358f7e7 /rtemsbsd/include/machine/rtems-bsd-syscall-api.h
parentDisable user credentials and use default values (diff)
downloadrtems-libbsd-caf8eded604451144928433767eb05923230cd97.tar.bz2
Import socket() implementation from FreeBSD
Add new test syscalls01.
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-syscall-api.h')
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-syscall-api.h3
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 7d53606b..609ed842 100644
--- a/rtemsbsd/include/machine/rtems-bsd-syscall-api.h
+++ b/rtemsbsd/include/machine/rtems-bsd-syscall-api.h
@@ -46,6 +46,7 @@
#include <sys/cdefs.h>
#include <sys/select.h>
+#include <sys/socket.h>
__BEGIN_DECLS
@@ -54,6 +55,8 @@ int pselect(int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict,
int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
+int socket(int, int, int);
+
__END_DECLS
#endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSCALL_API_H_ */