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

source code of glibc/include/sys/sysinfo.h