Files
glibc/include/sys/sysinfo.h
T

29 lines
831 B
C
Raw Normal View History

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