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 | libc_hidden_proto (__get_nprocs_conf) |
11 | |
12 | /* Return number of available processors (not all of them will be |
13 | available to the caller process). */ |
14 | extern int __get_nprocs (void); |
15 | libc_hidden_proto (__get_nprocs) |
16 | |
17 | /* Return number of physical pages of memory in the system. */ |
18 | extern long int __get_phys_pages (void); |
19 | libc_hidden_proto (__get_phys_pages) |
20 | |
21 | /* Return number of available physical pages of memory in the system. */ |
22 | extern long int __get_avphys_pages (void); |
23 | libc_hidden_proto (__get_avphys_pages) |
24 | |
25 | /* Return maximum number of processes this real user ID can have. */ |
26 | extern long int __get_child_max (void) attribute_hidden; |
27 | |
28 | # endif /* !_ISOMAC */ |
29 | #endif /* sys/sysinfo.h */ |
30 | |