mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:47:35 +00:00
LibC: Expose sysconf's _SC_FOO requests as macros
This commit is contained in:
parent
4bf4a071a6
commit
ad35436786
1 changed files with 6 additions and 0 deletions
|
@ -176,7 +176,13 @@ enum {
|
||||||
enum {
|
enum {
|
||||||
_SC_NPROCESSORS_CONF,
|
_SC_NPROCESSORS_CONF,
|
||||||
_SC_NPROCESSORS_ONLN,
|
_SC_NPROCESSORS_ONLN,
|
||||||
|
_SC_PAGESIZE,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define _SC_NPROCESSORS_CONF _SC_NPROCESSORS_CONF
|
||||||
|
#define _SC_NPROCESSORS_ONLN _SC_NPROCESSORS_ONLN
|
||||||
|
#define _SC_PAGESIZE _SC_PAGESIZE
|
||||||
|
|
||||||
long sysconf(int name);
|
long sysconf(int name);
|
||||||
|
|
||||||
struct crypt_data {
|
struct crypt_data {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue