1999-07-31 06:11:24 +00:00
|
|
|
#ifndef _SYS_SYSINFO_H
|
|
|
|
#include_next <sys/sysinfo.h>
|
|
|
|
|
|
|
|
/* Now we define the internal interface. */
|
|
|
|
|
|
|
|
/* Return number of configured processors. */
|
1999-11-23 17:22:17 +00:00
|
|
|
extern int __get_nprocs_conf (void);
|
1999-07-31 06:11:24 +00:00
|
|
|
|
|
|
|
/* Return number of available processors. */
|
1999-11-23 17:22:17 +00:00
|
|
|
extern int __get_nprocs (void);
|
1999-07-31 06:11:24 +00:00
|
|
|
|
|
|
|
/* Return number of physical pages of memory in the system. */
|
2001-02-11 19:15:00 +00:00
|
|
|
extern long int __get_phys_pages (void);
|
1999-07-31 06:11:24 +00:00
|
|
|
|
|
|
|
/* Return number of available physical pages of memory in the system. */
|
2001-02-11 19:15:00 +00:00
|
|
|
extern long int __get_avphys_pages (void);
|
1999-07-31 06:11:24 +00:00
|
|
|
|
2006-01-08 09:39:29 +00:00
|
|
|
/* Return maximum number of processes this real user ID can have. */
|
|
|
|
extern long int __get_child_max (void);
|
|
|
|
|
1999-07-31 06:11:24 +00:00
|
|
|
#endif /* sys/sysinfo.h */
|