mirror of
git://git.musl-libc.org/musl
synced 2025-04-01 22:48:38 +00:00
if there's evidence of any use for it, we can add it back later. as far as I can tell, glibc has it only for internal use (and musl uses a direct syscall in that case rather than a function call), not for exposing it to applications.
8 lines
144 B
C
8 lines
144 B
C
#include "syscall.h"
|
|
#ifdef SYS_arch_prctl
|
|
int arch_prctl(int code, unsigned long addr)
|
|
{
|
|
return syscall(SYS_arch_prctl, code, addr);
|
|
}
|
|
#endif
|