From 415f7e63176602937ed493817d279a5c4cd63b75 Mon Sep 17 00:00:00 2001 From: Johan Erlandsson Date: Fri, 9 Aug 2013 09:33:51 +0200 Subject: [PATCH] syscall.2: Add missing argument in example Signed-off-by: Michael Kerrisk --- man2/syscall.2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man2/syscall.2 b/man2/syscall.2 index 056063401..1cca9ce2a 100644 --- a/man2/syscall.2 +++ b/man2/syscall.2 @@ -205,6 +205,7 @@ architectures may indiscriminately clobber other registers not listed here. #include #include #include +#include int main(int argc, char *argv[]) @@ -212,7 +213,7 @@ main(int argc, char *argv[]) pid_t tid; tid = syscall(SYS_gettid); - tid = syscall(SYS_tgkill, getpid(), tid); + tid = syscall(SYS_tgkill, getpid(), tid, SIGHUP); } .fi .SH SEE ALSO