The prototype of prctl
is
int prctl(int option, unsigned long arg2, unsigned long arg3,
unsigned long arg4, unsigned long arg5);
in the man page whereas in the header it is declared as a variadic function:
extern int prctl (int __option, ...) __THROW;
- Do I have to call it with 5 arguments when I only need 2?
- Do I need to cast args to
unsigned long
?