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),