mirror of https://git.musl-libc.org/git/musl
Browse Source
traditionally, both BSD and GNU systems have it this way. sys/syscall.h is purely syscall number macros. presently glibc exposes the syscall declaration in unistd.h only with _GNU_SOURCE, but that does not reflect historical practice.rs-1.0
2 changed files with 1 additions and 10 deletions
@ -1,16 +1,6 @@ |
|||
#ifndef _SYS_SYSCALL_H |
|||
#define _SYS_SYSCALL_H |
|||
#ifdef __cplusplus |
|||
extern "C" { |
|||
#endif |
|||
|
|||
#include <features.h> |
|||
|
|||
long syscall(long, ...); |
|||
|
|||
#include <bits/syscall.h> |
|||
|
|||
#ifdef __cplusplus |
|||
} |
|||
#endif |
|||
#endif |
|||
|
|||
Loading…
Reference in new issue