1 | #ifndef _SYS_SYSINFO_H |
2 | #include_next <sys/sysinfo.h> |
3 | |
4 | # ifndef _ISOMAC |
5 | |
6 | /* Now we define the internal interface. */ |
7 | |
8 | /* Return number of configured processors. */ |
9 | extern int __get_nprocs_conf (void); |
10 | |
11 | /* Return number of available processors. */ |
12 | extern int __get_nprocs (void); |
13 | |
14 | /* Return number of physical pages of memory in the system. */ |
15 | extern long int __get_phys_pages (void); |
16 | |
17 | /* Return number of available physical pages of memory in the system. */ |
18 | extern long int __get_avphys_pages (void); |
19 | |
20 | /* Return maximum number of processes this real user ID can have. */ |
21 | extern long int __get_child_max (void); |
22 | |
23 | # endif /* !_ISOMAC */ |
24 | #endif /* sys/sysinfo.h */ |
25 | |