-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df39c36
commit fa111d1
Showing
1 changed file
with
0 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,19 @@ | ||
#ifndef _SYS_SYSINFO_H | ||
// #include_next <sys/sysinfo.h> | ||
#define _SYS_SYSINFO_H | ||
|
||
|
||
/* Now we define the internal interface. */ | ||
|
||
/* Return number of configured processors. */ | ||
// extern int __get_nprocs_conf (void); | ||
extern int get_nprocs_conf (void); | ||
|
||
/* Return number of available processors. */ | ||
// extern int __get_nprocs (void); | ||
extern int get_nprocs (void); | ||
|
||
/* Return number of physical pages of memory in the system. */ | ||
// extern long int __get_phys_pages (void); | ||
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); | ||
extern long int get_avphys_pages (void); | ||
|
||
/* Return maximum number of processes this real user ID can have. */ | ||
// extern long int __get_child_max (void); | ||
extern long int get_child_max (void); | ||
|
||
#endif /* sys/sysinfo.h */ |