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