mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 16:58:58 +00:00
LibC: Expose sysconf's _SC_FOO requests as macros
This commit is contained in:
parent
4bf4a071a6
commit
ad35436786
Notes:
sideshowbarker
2024-07-19 04:25:44 +09:00
Author: https://github.com/awesomekling
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