diff options
Diffstat (limited to 'REORG.TODO/include/sys/sysinfo.h')
-rw-r--r-- | REORG.TODO/include/sys/sysinfo.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/REORG.TODO/include/sys/sysinfo.h b/REORG.TODO/include/sys/sysinfo.h new file mode 100644 index 0000000000..c33eae2883 --- /dev/null +++ b/REORG.TODO/include/sys/sysinfo.h @@ -0,0 +1,24 @@ +#ifndef _SYS_SYSINFO_H +#include_next <sys/sysinfo.h> + +# ifndef _ISOMAC + +/* Now we define the internal interface. */ + +/* Return number of configured processors. */ +extern int __get_nprocs_conf (void); + +/* Return number of available processors. */ +extern int __get_nprocs (void); + +/* Return number of physical pages of memory in the system. */ +extern long int __get_phys_pages (void); + +/* Return number of available physical pages of memory in the system. */ +extern long int __get_avphys_pages (void); + +/* Return maximum number of processes this real user ID can have. */ +extern long int __get_child_max (void); + +# endif /* !_ISOMAC */ +#endif /* sys/sysinfo.h */ |