mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-18 11:00:07 +00:00
e4cf522929
* sysdeps/generic/getsysstat.c: Change return value of get_phys_pages and get_avphys_page to long int. * sysdeps/unix/sysv/linux/getsysstat.c: Likewise. * include/sys/sysinfo.h: Likewise. * sysdeps/generic/sys/sysinfo.h: Likewise. * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
19 lines
515 B
C
19 lines
515 B
C
#ifndef _SYS_SYSINFO_H
|
|
#include_next <sys/sysinfo.h>
|
|
|
|
/* Now we define the internal interface. */
|
|
|
|
/* Return number of configured processors. */
|
|
extern int __get_nprocs_conf (void);
|
|
|
|
/* Return number of available processors. */
|
|
extern int __get_nprocs (void);
|
|
|
|
/* Return number of physical pages of memory in the system. */
|
|
extern long int __get_phys_pages (void);
|
|
|
|
/* Return number of available physical pages of memory in the system. */
|
|
extern long int __get_avphys_pages (void);
|
|
|
|
#endif /* sys/sysinfo.h */
|