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