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:
Rasmus Villemoes 2014-04-30 21:42:42 +02:00 committed by Michael Kerrisk
parent 531b5b69b4
commit 24313b880d
1 changed files with 1 additions and 1 deletions

View File

@ -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 ()