diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-15 15:36:59 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-31 13:18:48 +0100 |
commit | 57f20025a7c0f3638f61a02b4360c8de9666bfe9 (patch) | |
tree | 7b0dc48b2ad951e274734ebedeb7f2f23a2086fe /rtemsbsd/include/machine/rtems-bsd-syscall-api.h | |
parent | Use send/recv functions from FreeBSD (diff) | |
download | rtems-libbsd-57f20025a7c0f3638f61a02b4360c8de9666bfe9.tar.bz2 |
Add sysctl(), etc. prototypes
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-syscall-api.h')
-rw-r--r-- | rtemsbsd/include/machine/rtems-bsd-syscall-api.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-syscall-api.h b/rtemsbsd/include/machine/rtems-bsd-syscall-api.h index 97790212..d96f1793 100644 --- a/rtemsbsd/include/machine/rtems-bsd-syscall-api.h +++ b/rtemsbsd/include/machine/rtems-bsd-syscall-api.h @@ -47,6 +47,7 @@ #include <sys/cdefs.h> #include <sys/select.h> #include <sys/socket.h> +#include <sys/sysctl.h> __BEGIN_DECLS @@ -83,6 +84,12 @@ int shutdown(int, int); int socket(int, int, int); +int sysctl(int *, u_int, void *, size_t *, void *, size_t); + +int sysctlbyname(const char *, void *, size_t *, void *, size_t); + +int sysctlnametomib(const char *, int *, size_t *); + __END_DECLS #endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSCALL_API_H_ */ |