aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2019-09-23 21:43:07 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-10-10 12:24:28 +0200
commit4e547536bb028fb56207bf77b3470aea0345bd08 (patch)
treeca913edfd3cb960db9f867a30d864641e2819e67
parentad0434de580006c2d3c5c4cad0ddb3a58de4f182 (diff)
downloadman-pages-4e547536bb028fb56207bf77b3470aea0345bd08.tar.gz
pidfd_open.2: Add a comment on system call number in example code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/pidfd_open.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/pidfd_open.2 b/man2/pidfd_open.2
index 3fd8138453..b67320708a 100644
--- a/man2/pidfd_open.2
+++ b/man2/pidfd_open.2
@@ -133,7 +133,7 @@ returns, and indicates that the file descriptor is readable.
#include <stdio.h>
#ifndef __NR_pidfd_open
-#define __NR_pidfd_open 434
+#define __NR_pidfd_open 434 /* System call # on most architectures */
#endif
static int