mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 03:17:56 +08:00
Add sysctl(), etc. prototypes
This commit is contained in:
@@ -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_ */
|
||||
|
Reference in New Issue
Block a user