mirror of https://github.com/mkerrisk/man-pages
syscall.2: Fix prototype for syscall(2)
The first argument and the return value of syscall() has type long, not int. Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
531b5b69b4
commit
24313b880d
|
@ -46,7 +46,7 @@ syscall \- indirect system call
|
|||
.B #include <unistd.h>
|
||||
.BR "#include <sys/syscall.h> " "/* For SYS_xxx definitions */"
|
||||
|
||||
.BI "int syscall(int " number ", ...);"
|
||||
.BI "long syscall(long " number ", ...);"
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
.BR syscall ()
|
||||
|
|
Loading…
Reference in New Issue