mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Introduce getcpu() system call from glibc
This commit is contained in:
parent
3eb405e0e2
commit
77a92f517b
7 changed files with 111 additions and 4 deletions
|
@ -2,8 +2,9 @@
|
|||
#define COSMOPOLITAN_LIBC_STDIO_SYSCALL_H_
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
#define SYS_gettid 186
|
||||
#define SYS_getrandom 318
|
||||
#define SYS_gettid 1
|
||||
#define SYS_getrandom 2
|
||||
#define SYS_getcpu 3
|
||||
|
||||
long syscall(long, ...) libcesque;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue