glibc/include/sys/prctl.h
H.J. Lu ff026950e2 Add a C wrapper for prctl [BZ #25896]
Add a C wrapper to pass arguments in

/* Control process execution.  */
extern int prctl (int __option, ...) __THROW;

to prctl syscall:

extern int prctl (int, unsigned long int, unsigned long int,
		  unsigned long int, unsigned long int);
2020-04-30 10:42:43 -07:00

11 lines
167 B
C

#ifndef _SYS_PRCTL_H
#include_next <sys/prctl.h>
# ifndef _ISOMAC
extern int __prctl (int __option, ...);
libc_hidden_proto (__prctl)
# endif /* !_ISOMAC */
#endif