summaryrefslogtreecommitdiffstats
path: root/man2/syscall.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/syscall.2')
-rw-r--r--man2/syscall.24
1 files changed, 2 insertions, 2 deletions
diff --git a/man2/syscall.2 b/man2/syscall.2
index 0ba537f4f..fea186515 100644
--- a/man2/syscall.2
+++ b/man2/syscall.2
@@ -348,12 +348,12 @@ architectures may indiscriminately clobber other registers not listed here.
#include <signal.h>
#include <sys/syscall.h>
#include <unistd.h>
-
+\&
int
main(void)
{
pid_t tid;
-
+\&
tid = syscall(SYS_gettid);
syscall(SYS_tgkill, getpid(), tid, SIGHUP);
}