Add NBSD-like Minix system includes.

This commit is contained in:
Gianluca Guida
2011-02-21 13:13:55 +00:00
parent 5518fe9be1
commit 4cf101caae
122 changed files with 13854 additions and 0 deletions

22
nbsd_include/sys/sysctl.h Normal file
View File

@@ -0,0 +1,22 @@
#ifndef _SYS_SYSCTL_H
#define _SYS_SYSCTL_H
/*
* sysctl() is not supported. Warn non-libc programs including this header.
*/
#ifndef _LIBC
#warning Including sysctl.h header. sysctl() is not supported in Minix.
#endif /* !_LIBC */
/*
* Used by gmon.
*/
struct clockinfo {
int hz; /* clock frequency */
int tick; /* micro-seconds per hz tick */
int tickadj; /* clock skew rate for adjtime() */
int stathz; /* statistics clock frequency */
int profhz; /* profiling clock frequency */
};
#endif /* _SYS_SYSCTL_H */