From 30dd9882b0039995ddb0c280277729d819c647eb Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 16 Nov 2020 10:52:29 +0100 Subject: [PATCH] pidfd_open.2, pidfd_send_signal.2, poll.2, semget.2: ffix: EXAMPLES: use .EX/.EE instead of .nf/.fi Signed-off-by: Michael Kerrisk --- man2/pidfd_open.2 | 4 ++-- man2/pidfd_send_signal.2 | 4 ++-- man2/poll.2 | 4 ++-- man2/semget.2 | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/man2/pidfd_open.2 b/man2/pidfd_open.2 index 0256d6d8c..5b99460e1 100644 --- a/man2/pidfd_open.2 +++ b/man2/pidfd_open.2 @@ -208,7 +208,7 @@ event. .\" .SS Program source \& -.nf +.EX #define _GNU_SOURCE #include #include @@ -259,7 +259,7 @@ main(int argc, char *argv[]) close(pidfd); exit(EXIT_SUCCESS); } -.fi +.EE .SH SEE ALSO .BR clone (2), .BR kill (2), diff --git a/man2/pidfd_send_signal.2 b/man2/pidfd_send_signal.2 index 3ca51c011..ebc91f7d9 100644 --- a/man2/pidfd_send_signal.2 +++ b/man2/pidfd_send_signal.2 @@ -177,7 +177,7 @@ if that process terminates, fails with the error .BR ESRCH . .SH EXAMPLES -.nf +.EX #define _GNU_SOURCE #include #include @@ -244,7 +244,7 @@ main(int argc, char *argv[]) exit(EXIT_SUCCESS); } -.fi +.EE .SH SEE ALSO .BR clone (2), .BR kill (2), diff --git a/man2/poll.2 b/man2/poll.2 index 940c51da5..17533b22b 100644 --- a/man2/poll.2 +++ b/man2/poll.2 @@ -569,7 +569,7 @@ at which point the file descriptor was closed and the program terminated. .\" .SS Program source \& -.nf +.EX /* poll_input.c Licensed under GNU General Public License v2 or later. @@ -655,7 +655,7 @@ main(int argc, char *argv[]) printf("All file descriptors closed; bye\en"); exit(EXIT_SUCCESS); } -.fi +.EE .SH SEE ALSO .BR restart_syscall (2), .BR select (2), diff --git a/man2/semget.2 b/man2/semget.2 index 154952f34..d3d37cbaf 100644 --- a/man2/semget.2 +++ b/man2/semget.2 @@ -397,7 +397,7 @@ ID = 9 .in .SS Program source \& -.nf +.EX /* t_semget.c Licensed under GNU General Public License v2 or later. @@ -456,7 +456,7 @@ main(int argc, char *argv[]) exit(EXIT_SUCCESS); } -.fi +.EE .SH SEE ALSO .BR semctl (2), .BR semop (2),