memusage.1, clone.2, eventfd.2, futex.2, getdents.2, ioctl_fat.2, ioctl_ns.2, kcmp.2, keyctl.2, mmap.2, mprotect.2, msgop.2, recvmmsg.2, request_key.2, sched_setaffinity.2, seccomp.2, setns.2, tee.2, timer_create.2, timerfd_create.2, unshare.2, userfaultfd.2, wait.2, __ppc_get_timebase.3, backtrace.3, bswap.3, clock_getcpuclockid.3, dl_iterate_phdr.3, dlinfo.3, dlopen.3, duplocale.3, end.3, endian.3, fmemopen.3, fopencookie.3, frexp.3, ftw.3, getdate.3, getgrouplist.3, getifaddrs.3, getprotoent_r.3, getservent_r.3, gnu_get_libc_version.3, if_nameindex.3, inet.3, inet_net_pton.3, inet_pton.3, insque.3, makecontext.3, mallinfo.3, malloc_info.3, mallopt.3, matherr.3, mbstowcs.3, mcheck.3, mq_getattr.3, mq_notify.3, newlocale.3, offsetof.3, posix_spawn.3, pthread_attr_init.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_create.3, pthread_getattr_default_np.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_setname_np.3, pthread_setschedparam.3, pthread_sigmask.3, scandir.3, sem_wait.3, strcat.3, strftime.3, strtok.3, strtol.3, strverscmp.3, loop.4, core.5, aio.7, fanotify.7, feature_test_macros.7, inotify.7, pkeys.7, unix.7, user_namespaces.7: Use .EX/.EE for EXAMPLE programs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-08-16 10:44:33 +02:00
parent a26bed1fcd
commit e7d0bb4715
86 changed files with 171 additions and 171 deletions

View File

@ -235,7 +235,7 @@ $ \fBmemusagestat memusage.dat memusage.png\fP
.fi .fi
.in .in
.SS Program source .SS Program source
.nf .EX
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -266,7 +266,7 @@ main(int argc, char *argv[])
free(p); free(p);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR memusagestat (1), .BR memusagestat (1),
.BR mtrace (1) .BR mtrace (1)

View File

@ -1239,7 +1239,7 @@ differs in the UTS namespaces of the parent and child.
For an example of the use of this program, see For an example of the use of this program, see
.BR setns (2). .BR setns (2).
.SS Program source .SS Program source
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/utsname.h> #include <sys/utsname.h>
@ -1324,7 +1324,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR fork (2), .BR fork (2),
.BR futex (2), .BR futex (2),

View File

@ -380,7 +380,7 @@ Parent read 28 (0x1c) from efd
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <sys/eventfd.h> #include <sys/eventfd.h>
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
@ -435,7 +435,7 @@ main(int argc, char *argv[])
handle_error("fork"); handle_error("fork");
} }
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR futex (2), .BR futex (2),
.BR pipe (2), .BR pipe (2),

View File

@ -1740,7 +1740,7 @@ Child (18535) 4
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
/* futex_demo.c /* futex_demo.c
Usage: futex_demo [nloops] Usage: futex_demo [nloops]
@ -1885,7 +1885,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.BR get_robust_list (2), .BR get_robust_list (2),

View File

@ -240,7 +240,7 @@ inode# file type d_reclen d_off d_name
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <dirent.h> /* Defines DT_* constants */ #include <dirent.h> /* Defines DT_* constants */
#include <fcntl.h> #include <fcntl.h>
@ -304,7 +304,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR readdir (2), .BR readdir (2),
.BR readdir (3), .BR readdir (3),

View File

@ -431,7 +431,7 @@ LOWER.TXT -> 'lower.txt'
.in .in
.SS Program source .SS Program source
.in +4n .in +4n
.nf .EX
#include <fcntl.h> #include <fcntl.h>
#include <linux/msdos_fs.h> #include <linux/msdos_fs.h>
#include <stdio.h> #include <stdio.h>
@ -495,7 +495,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.in .in
.SH SEE ALSO .SH SEE ALSO
.BR ioctl (2) .BR ioctl (2)

View File

@ -237,7 +237,7 @@ The owning user namespace is outside your namespace scope
.fi .fi
.SS Program source .SS Program source
\& \&
.nf .EX
/* ns_show.c /* ns_show.c
Licensed under the GNU General Public License v2 or later. Licensed under the GNU General Public License v2 or later.
@ -342,7 +342,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR fstat (2), .BR fstat (2),
.BR ioctl (2), .BR ioctl (2),

View File

@ -346,7 +346,7 @@ Child duplicated FD 3 to create FD 5
.fi .fi
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <sys/syscall.h> #include <sys/syscall.h>
#include <sys/wait.h> #include <sys/wait.h>
@ -423,7 +423,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR clone (2), .BR clone (2),
.BR unshare (2) .BR unshare (2)

View File

@ -1788,7 +1788,7 @@ $ \fBcat /proc/keys | egrep \(aqmykey|256e6a6\(aq\fP
.fi .fi
.SS Program source .SS Program source
\& \&
.nf .EX
/* key_instantiate.c */ /* key_instantiate.c */
#include <sys/types.h> #include <sys/types.h>
@ -1941,7 +1941,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.nh .nh

View File

@ -750,7 +750,7 @@ pages of the file and then uses
.BR write (2) .BR write (2)
to output the desired bytes. to output the desired bytes.
.SS Program source .SS Program source
.nf .EX
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
@ -821,7 +821,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR getpagesize (2), .BR getpagesize (2),
.BR memfd_create (2), .BR memfd_create (2),

View File

@ -300,7 +300,7 @@ Got SIGSEGV at address: 0x804e000
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
#include <stdio.h> #include <stdio.h>
@ -358,7 +358,7 @@ main(int argc, char *argv[])
printf("Loop completed\\n"); /* Should never happen */ printf("Loop completed\\n"); /* Should never happen */
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR mmap (2), .BR mmap (2),
.BR sysconf (3), .BR sysconf (3),

View File

@ -593,7 +593,7 @@ message received: a message at Wed Mar 4 16:25:45 2015
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
@ -706,7 +706,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR msgctl (2), .BR msgctl (2),
.BR msgget (2), .BR msgget (2),

View File

@ -215,7 +215,7 @@ can give the following output:
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <netinet/ip.h> #include <netinet/ip.h>
#include <stdio.h> #include <stdio.h>
@ -274,7 +274,7 @@ main(void)
} }
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR clock_gettime (2), .BR clock_gettime (2),
.BR recvmsg (2), .BR recvmsg (2),

View File

@ -510,7 +510,7 @@ For another example of the use of this program, see
.BR keyctl (2). .BR keyctl (2).
.SS Program source .SS Program source
\& \&
.nf .EX
/* t_request_key.c */ /* t_request_key.c */
#include <sys/types.h> #include <sys/types.h>
@ -541,7 +541,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.nh .nh

View File

@ -345,7 +345,7 @@ sys 12.07
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <sched.h> #include <sched.h>
#include <stdio.h> #include <stdio.h>
@ -403,7 +403,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.nh .nh

View File

@ -733,7 +733,7 @@ cecilia
.in .in
.fi .fi
.SS Program source .SS Program source
.nf .EX
#include <errno.h> #include <errno.h>
#include <stddef.h> #include <stddef.h>
#include <stdio.h> #include <stdio.h>
@ -831,7 +831,7 @@ main(int argc, char **argv)
perror("execv"); perror("execv");
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR bpf (2), .BR bpf (2),
.BR prctl (2), .BR prctl (2),

View File

@ -263,7 +263,7 @@ bizarro
.in .in
.fi .fi
.SS Program source .SS Program source
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <fcntl.h> #include <fcntl.h>
#include <sched.h> #include <sched.h>
@ -294,7 +294,7 @@ main(int argc, char *argv[])
execvp(argv[2], &argv[2]); /* Execute a command in namespace */ execvp(argv[2], &argv[2]); /* Execute a command in namespace */
errExit("execvp"); errExit("execvp");
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR clone (2), .BR clone (2),
.BR fork (2), .BR fork (2),

View File

@ -148,7 +148,7 @@ Tue Oct 28 10:06:00 CET 2014
.fi .fi
.in .in
.SS Program source .SS Program source
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <fcntl.h> #include <fcntl.h>
@ -208,7 +208,7 @@ main(int argc, char *argv[])
close(fd); close(fd);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR splice (2), .BR splice (2),
.BR vmsplice (2), .BR vmsplice (2),

View File

@ -347,7 +347,7 @@ Caught signal 34
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <stdio.h> #include <stdio.h>
@ -459,7 +459,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.nh .nh

View File

@ -501,7 +501,7 @@ a.out 3 1 100
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
.\" The commented out code here is what we currently need until .\" The commented out code here is what we currently need until
.\" the required stuff is in glibc .\" the required stuff is in glibc
.\" .\"
@ -632,7 +632,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR eventfd (2), .BR eventfd (2),
.BR poll (2), .BR poll (2),

View File

@ -419,7 +419,7 @@ The differing output of the two
commands shows that the two shells are in different mount namespaces. commands shows that the two shells are in different mount namespaces.
.SS Program source .SS Program source
\& \&
.nf .EX
/* unshare.c /* unshare.c
A simple implementation of the unshare(1) command: unshare A simple implementation of the unshare(1) command: unshare
@ -479,7 +479,7 @@ main(int argc, char *argv[])
execvp(argv[optind], &argv[optind]); execvp(argv[optind], &argv[optind]);
errExit("execvp"); errExit("execvp");
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR unshare (1), .BR unshare (1),
.BR clone (2), .BR clone (2),

View File

@ -516,7 +516,7 @@ Read address 0x7fd30106ec0f in main(): C
.fi .fi
.SS Program source .SS Program source
\& \&
.nf .EX
/* userfaultfd_demo.c /* userfaultfd_demo.c
Licensed under the GNU General Public License version 2 or later. Licensed under the GNU General Public License version 2 or later.
@ -712,7 +712,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR fcntl (2), .BR fcntl (2),
.BR ioctl (2), .BR ioctl (2),

View File

@ -619,7 +619,7 @@ $
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <sys/wait.h> #include <sys/wait.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
@ -664,7 +664,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR _exit (2), .BR _exit (2),
.BR clone (2), .BR clone (2),

View File

@ -69,7 +69,7 @@ between two calls to
.BR __ppc_get_timebase (). .BR __ppc_get_timebase ().
.SS Program source .SS Program source
\& \&
.nf .EX
#include <inttypes.h> #include <inttypes.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
@ -106,7 +106,7 @@ main(void)
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR time (2), .BR time (2),
.BR usleep (3) .BR usleep (3)

View File

@ -205,7 +205,7 @@ backtrace() returned 8 addresses
.fi .fi
.SS Program source .SS Program source
\& \&
.nf .EX
#include <execinfo.h> #include <execinfo.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -264,7 +264,7 @@ main(int argc, char *argv[])
myfunc(atoi(argv[1])); myfunc(atoi(argv[1]));
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR addr2line (1), .BR addr2line (1),
.BR gdb (1), .BR gdb (1),

View File

@ -55,7 +55,7 @@ $ \fB./a.out 0x0123456789abcdef\fP
.fi .fi
.SS Program source .SS Program source
\& \&
.nf .EX
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
@ -77,7 +77,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR byteorder (3), .BR byteorder (3),
.BR endian (3) .BR endian (3)

View File

@ -125,7 +125,7 @@ CPU-time clock for PID 1 is 2.213466748 seconds
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _XOPEN_SOURCE 600 #define _XOPEN_SOURCE 600
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
@ -157,7 +157,7 @@ main(int argc, char *argv[])
argv[1], (long) ts.tv_sec, (long) ts.tv_nsec); argv[1], (long) ts.tv_sec, (long) ts.tv_nsec);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR clock_getres (2), .BR clock_getres (2),
.BR timer_create (2), .BR timer_create (2),

View File

@ -295,7 +295,7 @@ Name: "/lib64/ld-linux-x86-64.so.2" (7 segments)
.PP .PP
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <link.h> #include <link.h>
#include <stdlib.h> #include <stdlib.h>
@ -343,7 +343,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR ldd (1), .BR ldd (1),
.BR objdump (1), .BR objdump (1),

View File

@ -260,7 +260,7 @@ dls_serpath[1].dls_name = /usr/lib64
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <dlfcn.h> #include <dlfcn.h>
#include <link.h> #include <link.h>
@ -325,7 +325,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR dl_iterate_phdr (3), .BR dl_iterate_phdr (3),
.BR dladdr (3), .BR dladdr (3),

View File

@ -528,7 +528,7 @@ $ \fB./a.out\fP
.fi .fi
.in .in
.SS Program source .SS Program source
.nf .EX
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -581,7 +581,7 @@ main(void)
dlclose(handle); dlclose(handle);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR ld (1), .BR ld (1),
.BR ldd (1), .BR ldd (1),

View File

@ -134,7 +134,7 @@ ABC
.fi .fi
.in .in
.SS Program source .SS Program source
.nf .EX
#define _XOPEN_SOURCE 700 #define _XOPEN_SOURCE 700
#include <ctype.h> #include <ctype.h>
#include <stdio.h> #include <stdio.h>
@ -176,7 +176,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR freelocale (3), .BR freelocale (3),
.BR newlocale (3), .BR newlocale (3),

View File

@ -87,7 +87,7 @@ First address past:
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -104,7 +104,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR objdump (1), .BR objdump (1),
.BR readelf (1), .BR readelf (1),

View File

@ -145,7 +145,7 @@ htobe32(x.u32) = 0x11223344
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <endian.h> #include <endian.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
@ -170,7 +170,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR bswap (3), .BR bswap (3),
.BR byteorder (3) .BR byteorder (3)

View File

@ -297,7 +297,7 @@ size=11; ptr=1 529 1849
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
@ -345,7 +345,7 @@ main(int argc, char *argv[])
free(ptr); free(ptr);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR fopen (3), .BR fopen (3),
.BR fopencookie (3), .BR fopencookie (3),

View File

@ -282,7 +282,7 @@ could be improved to more robustly handle various error situations
closing a stream that has already been closed). closing a stream that has already been closed).
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <sys/types.h> #include <sys/types.h>
#include <stdio.h> #include <stdio.h>
@ -445,7 +445,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR fclose (3), .BR fclose (3),
.BR fmemopen (3), .BR fmemopen (3),

View File

@ -133,7 +133,7 @@ frexp(\-4, &e) = \-0.5: \-0.5 * 2^3 = \-4
.fi .fi
.SS Program source .SS Program source
\& \&
.nf .EX
#include <math.h> #include <math.h>
#include <float.h> #include <float.h>
#include <stdio.h> #include <stdio.h>
@ -152,7 +152,7 @@ main(int argc, char *argv[])
x, r, r, FLT_RADIX, exp, x); x, r, r, FLT_RADIX, exp, x);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR ldexp (3), .BR ldexp (3),
.BR modf (3) .BR modf (3)

View File

@ -426,7 +426,7 @@ control the value assigned to the \fIflags\fP
argument when calling argument when calling
.BR nftw (). .BR nftw ().
.SS Program source .SS Program source
.nf .EX
#define _XOPEN_SOURCE 500 #define _XOPEN_SOURCE 500
#include <ftw.h> #include <ftw.h>
#include <stdio.h> #include <stdio.h>
@ -474,7 +474,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH BUGS .SH BUGS
In the specification of In the specification of
.BR nftw (), .BR nftw (),

View File

@ -280,7 +280,7 @@ Call 3 ("12:22:33") succeeded:
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <time.h> #include <time.h>
#include <stdio.h> #include <stdio.h>
@ -315,7 +315,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR time (2), .BR time (2),
.BR localtime (3), .BR localtime (3),

View File

@ -144,7 +144,7 @@ ngroups = 3
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <grp.h> #include <grp.h>
@ -200,7 +200,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR getgroups (2), .BR getgroups (2),
.BR setgroups (2), .BR setgroups (2),

View File

@ -250,7 +250,7 @@ wlp3s0 AF_INET6 (10)
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE /* To get defns of NI_MAXSERV and NI_MAXHOST */ #define _GNU_SOURCE /* To get defns of NI_MAXSERV and NI_MAXHOST */
#include <arpa/inet.h> #include <arpa/inet.h>
#include <sys/socket.h> #include <sys/socket.h>
@ -319,7 +319,7 @@ int main(int argc, char *argv[])
freeifaddrs(ifaddr); freeifaddrs(ifaddr);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR bind (2), .BR bind (2),
.BR getsockname (2), .BR getsockname (2),

View File

@ -179,7 +179,7 @@ Call failed/record not found
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <ctype.h> #include <ctype.h>
#include <netdb.h> #include <netdb.h>
@ -251,7 +251,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR getprotoent (3), .BR getprotoent (3),
.BR protocols (5) .BR protocols (5)

View File

@ -176,7 +176,7 @@ Call failed/record not found
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <ctype.h> #include <ctype.h>
#include <netdb.h> #include <netdb.h>
@ -254,7 +254,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR getservent (3), .BR getservent (3),
.BR services (5) .BR services (5)

View File

@ -73,7 +73,7 @@ GNU libc release: stable
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <gnu/libc-version.h> #include <gnu/libc-version.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
@ -85,6 +85,6 @@ main(int argc, char *argv[])
printf("GNU libc release: %s\\n", gnu_get_libc_release()); printf("GNU libc release: %s\\n", gnu_get_libc_release());
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR confstr (3) .BR confstr (3)

View File

@ -134,7 +134,7 @@ $ \fB./a.out\fI
.fi .fi
.in .in
.SS Program source .SS Program source
.nf .EX
#include <net/if.h> #include <net/if.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -158,7 +158,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR getsockopt (2), .BR getsockopt (2),
.BR setsockopt (2), .BR setsockopt (2),

View File

@ -303,7 +303,7 @@ Here are some example runs:
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _BSD_SOURCE #define _BSD_SOURCE
#include <arpa/inet.h> #include <arpa/inet.h>
#include <stdio.h> #include <stdio.h>
@ -327,7 +327,7 @@ main(int argc, char *argv[])
printf("%s\\n", inet_ntoa(addr)); printf("%s\\n", inet_ntoa(addr));
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR byteorder (3), .BR byteorder (3),
.BR getaddrinfo (3), .BR getaddrinfo (3),

View File

@ -329,7 +329,7 @@ Raw address: c1a80180
.fi .fi
.in .in
.SS Program source .SS Program source
.nf .EX
/* Link with "\-lresolv" */ /* Link with "\-lresolv" */
#include <arpa/inet.h> #include <arpa/inet.h>
@ -386,7 +386,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR inet (3), .BR inet (3),
.BR networks (5) .BR networks (5)

View File

@ -186,7 +186,7 @@ Here are some example runs:
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <arpa/inet.h> #include <arpa/inet.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -225,7 +225,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR getaddrinfo (3), .BR getaddrinfo (3),
.BR inet (3), .BR inet (3),

View File

@ -165,7 +165,7 @@ That was a circular list
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
@ -257,6 +257,6 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR queue (3) .BR queue (3)

View File

@ -173,7 +173,7 @@ main: exiting
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <ucontext.h> #include <ucontext.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -231,7 +231,7 @@ main(int argc, char *argv[])
printf("main: exiting\\n"); printf("main: exiting\\n");
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR sigaction (2), .BR sigaction (2),
.BR sigaltstack (2), .BR sigaltstack (2),

View File

@ -228,7 +228,7 @@ Topmost releasable block (keepcost): 31168
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <malloc.h> #include <malloc.h>
#include "tlpi_hdr.h" #include "tlpi_hdr.h"
@ -292,7 +292,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.nh .nh

View File

@ -178,7 +178,7 @@ glibc 2.13
.fi .fi
.in .in
.SS Program source .SS Program source
.nf .EX
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
@ -265,7 +265,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR mallinfo (3), .BR mallinfo (3),
.BR malloc (3), .BR malloc (3),

View File

@ -577,7 +577,7 @@ main(): returned from second free() call
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <malloc.h> #include <malloc.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -608,7 +608,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.nh .nh

View File

@ -385,7 +385,7 @@ x=12345.000000
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _SVID_SOURCE #define _SVID_SOURCE
#include <errno.h> #include <errno.h>
#include <math.h> #include <math.h>
@ -447,7 +447,7 @@ main(int argc, char *argv[])
printf("x=%f\\n", x); printf("x=%f\\n", x);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR fenv (3), .BR fenv (3),
.BR math_error (7), .BR math_error (7),

View File

@ -141,7 +141,7 @@ Wide character string is: Grüße! (6 characters)
.fi .fi
.in .in
.SS Program source .SS Program source
.nf .EX
#include <wctype.h> #include <wctype.h>
#include <locale.h> #include <locale.h>
#include <wchar.h> #include <wchar.h>
@ -226,7 +226,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR mblen (3), .BR mblen (3),
.BR mbsrtowcs (3), .BR mbsrtowcs (3),

View File

@ -196,7 +196,7 @@ Aborted (core dumped)
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <mcheck.h> #include <mcheck.h>
@ -221,7 +221,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR malloc (3), .BR malloc (3),
.BR mallopt (3), .BR mallopt (3),

View File

@ -195,7 +195,7 @@ $ \fBcat /proc/sys/fs/mqueue/msgsize_default\fP
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <mqueue.h> #include <mqueue.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
@ -232,7 +232,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR mq_close (3), .BR mq_close (3),
.BR mq_notify (3), .BR mq_notify (3),

View File

@ -215,7 +215,7 @@ Notification is performed by creating a thread.
The thread executes a function which reads one message from the The thread executes a function which reads one message from the
queue and then terminates the process. queue and then terminates the process.
.SS Program source .SS Program source
.nf .EX
#include <pthread.h> #include <pthread.h>
#include <mqueue.h> #include <mqueue.h>
#include <stdio.h> #include <stdio.h>
@ -274,7 +274,7 @@ main(int argc, char *argv[])
pause(); /* Process will be terminated by thread function */ pause(); /* Process will be terminated by thread function */
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR mq_close (3), .BR mq_close (3),
.BR mq_getattr (3), .BR mq_getattr (3),

View File

@ -298,7 +298,7 @@ $ LC_ALL=mi_NZ ./a.out fr_FR ""
Te Paraire, te 07 o Poutū-te-rangi, 2014 00:38:44 CET Te Paraire, te 07 o Poutū-te-rangi, 2014 00:38:44 CET
.fi .fi
.SS Program source .SS Program source
.nf .EX
#define _XOPEN_SOURCE 700 #define _XOPEN_SOURCE 700
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -369,7 +369,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR locale (1), .BR locale (1),
.BR duplocale (3), .BR duplocale (3),

View File

@ -75,7 +75,7 @@ sizeof(struct s)=16
.fi .fi
.SS Program source .SS Program source
\& \&
.nf .EX
#include <stddef.h> #include <stddef.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -99,4 +99,4 @@ main(void)
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE

View File

@ -643,7 +643,7 @@ Child status: exited, status=127
.fi .fi
.in .in
.SS Program source .SS Program source
.nf .EX
#include <spawn.h> #include <spawn.h>
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
@ -766,7 +766,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.nh \" Disable hyphenation .nh \" Disable hyphenation
.ad l .ad l

View File

@ -162,7 +162,7 @@ Thread attributes:
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE /* To get pthread_getattr_np() declaration */ #define _GNU_SOURCE /* To get pthread_getattr_np() declaration */
#include <pthread.h> #include <pthread.h>
#include <stdio.h> #include <stdio.h>
@ -308,7 +308,7 @@ main(int argc, char *argv[])
pause(); /* Terminates when other thread calls exit() */ pause(); /* Terminates when other thread calls exit() */
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.nh .nh

View File

@ -163,7 +163,7 @@ main(): thread was canceled
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <pthread.h> #include <pthread.h>
#include <stdio.h> #include <stdio.h>
#include <errno.h> #include <errno.h>
@ -235,7 +235,7 @@ main(void)
printf("main(): thread wasn\(aqt canceled (shouldn\(aqt happen!)\\n"); printf("main(): thread wasn\(aqt canceled (shouldn\(aqt happen!)\\n");
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.nh .nh

View File

@ -244,7 +244,7 @@ the clean-up handler was executed, because the argument given to
was nonzero. was nonzero.
.SS Program source .SS Program source
\& \&
.nf .EX
#include <pthread.h> #include <pthread.h>
#include <sys/types.h> #include <sys/types.h>
#include <stdio.h> #include <stdio.h>
@ -325,7 +325,7 @@ main(int argc, char *argv[])
printf("Thread terminated normally; cnt = %d\\n", cnt); printf("Thread terminated normally; cnt = %d\\n", cnt);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR pthread_cancel (3), .BR pthread_cancel (3),
.BR pthread_cleanup_push_defer_np (3), .BR pthread_cleanup_push_defer_np (3),

View File

@ -260,7 +260,7 @@ Joined with thread 3; returned value was SERVUS
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <pthread.h> #include <pthread.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
@ -385,7 +385,7 @@ main(int argc, char *argv[])
free(tinfo); free(tinfo);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.nh .nh

View File

@ -117,7 +117,7 @@ Inherit scheduler: INHERIT
.PP .PP
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <pthread.h> #include <pthread.h>
#include <stdio.h> #include <stdio.h>
@ -193,7 +193,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.nh .nh

View File

@ -192,7 +192,7 @@ Attributes of created thread:
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE /* To get pthread_getattr_np() declaration */ #define _GNU_SOURCE /* To get pthread_getattr_np() declaration */
#include <pthread.h> #include <pthread.h>
#include <stdio.h> #include <stdio.h>
@ -355,7 +355,7 @@ main(int argc, char *argv[])
pause(); /* Terminates when other thread calls exit() */ pause(); /* Terminates when other thread calls exit() */
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.nh .nh

View File

@ -107,7 +107,7 @@ Subthread CPU time: 0.992
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
/* Link with "\-lrt" */ /* Link with "\-lrt" */
#include <time.h> #include <time.h>
@ -178,7 +178,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); /* Terminates both threads */ exit(EXIT_SUCCESS); /* Terminates both threads */
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR clock_gettime (2), .BR clock_gettime (2),
.BR clock_settime (2), .BR clock_settime (2),

View File

@ -153,7 +153,7 @@ THREADFOO
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <pthread.h> #include <pthread.h>
#include <stdio.h> #include <stdio.h>
@ -210,7 +210,7 @@ main(int argc, char **argv)
printf("Done\\n"); printf("Done\\n");
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.nh .nh

View File

@ -236,7 +236,7 @@ option, the output would have been the same, since
is the default for the inherit scheduler attribute. is the default for the inherit scheduler attribute.
.SS Program source .SS Program source
\& \&
.nf .EX
/* pthreads_sched_test.c */ /* pthreads_sched_test.c */
#include <pthread.h> #include <pthread.h>
@ -442,7 +442,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.nh .nh

View File

@ -110,7 +110,7 @@ Signal handling thread got signal 10
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <pthread.h> #include <pthread.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -163,7 +163,7 @@ main(int argc, char *argv[])
pause(); /* Dummy pause so we can test program */ pause(); /* Dummy pause so we can test program */
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR sigaction (2), .BR sigaction (2),
.BR sigpending (2), .BR sigpending (2),

View File

@ -293,7 +293,7 @@ in reverse order.
.\" .\"
.SS Program source .SS Program source
\& \&
.nf .EX
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#include <dirent.h> #include <dirent.h>
#include <stdio.h> #include <stdio.h>
@ -319,7 +319,7 @@ main(void)
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR closedir (3), .BR closedir (3),
.BR fnmatch (3), .BR fnmatch (3),

View File

@ -189,7 +189,7 @@ sem_timedwait() timed out
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <unistd.h> #include <unistd.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -264,7 +264,7 @@ main(int argc, char *argv[])
exit((s == 0) ? EXIT_SUCCESS : EXIT_FAILURE); exit((s == 0) ? EXIT_SUCCESS : EXIT_FAILURE);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR clock_gettime (2), .BR clock_gettime (2),
.BR sem_getvalue (3), .BR sem_getvalue (3),

View File

@ -199,7 +199,7 @@ will provide better performance.)
.\" .\"
.SS Program source .SS Program source
\& \&
.nf .EX
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#include <stdio.h> #include <stdio.h>
@ -221,7 +221,7 @@ main(int argc, char *argv[])
strcat(p, "a"); strcat(p, "a");
} }
} }
.fi .EE
.BR .BR
.\" .\"
.SH SEE ALSO .SH SEE ALSO

View File

@ -618,7 +618,7 @@ Result string is " 11"
.fi .fi
.in .in
.SS Program source .SS Program source
.nf .EX
#include <time.h> #include <time.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -645,7 +645,7 @@ main(int argc, char *argv[])
printf("Result string is \\"%s\\"\\n", outstr); printf("Result string is \\"%s\\"\\n", outstr);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR date (1), .BR date (1),
.BR time (2), .BR time (2),

View File

@ -231,7 +231,7 @@ An example of the output produced by this program is the following:
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
@ -265,7 +265,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.PP .PP
Another example program using Another example program using
.BR strtok () .BR strtok ()

View File

@ -247,7 +247,7 @@ strtol: Numerical result out of range
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <stdlib.h> #include <stdlib.h>
#include <limits.h> #include <limits.h>
#include <stdio.h> #include <stdio.h>
@ -293,7 +293,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR atof (3), .BR atof (3),
.BR atoi (3), .BR atoi (3),

View File

@ -127,7 +127,7 @@ jan1 < jan10
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
@ -150,7 +150,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR rename (1), .BR rename (1),
.BR strcasecmp (3), .BR strcasecmp (3),

View File

@ -240,7 +240,7 @@ loopname = /dev/loop5
.fi .fi
.SS Program source .SS Program source
\& \&
.nf .EX
#include <fcntl.h> #include <fcntl.h>
#include <linux/loop.h> #include <linux/loop.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
@ -287,7 +287,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR losetup (8), .BR losetup (8),
.BR mount (8) .BR mount (8)

View File

@ -475,7 +475,7 @@ Total bytes in core dump: 282624
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
/* core_pattern_pipe_test.c */ /* core_pattern_pipe_test.c */
#define _GNU_SOURCE #define _GNU_SOURCE
@ -526,7 +526,7 @@ main(int argc, char *argv[])
fclose(fp); fclose(fp);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR bash (1), .BR bash (1),
.BR gdb (1), .BR gdb (1),

View File

@ -245,7 +245,7 @@ aio_return():
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#include <fcntl.h> #include <fcntl.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
@ -446,7 +446,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.nh .nh

View File

@ -559,7 +559,7 @@ Listening for events stopped.
.fi .fi
.in .in
.SS Program source .SS Program source
.nf .EX
#define _GNU_SOURCE /* Needed to get O_LARGEFILE definition */ #define _GNU_SOURCE /* Needed to get O_LARGEFILE definition */
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
@ -754,7 +754,7 @@ main(int argc, char *argv[])
printf("Listening for events stopped.\\n"); printf("Listening for events stopped.\\n");
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.ad l .ad l
.BR fanotify_init (2), .BR fanotify_init (2),

View File

@ -811,7 +811,7 @@ _GNU_SOURCE defined
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
/* ftm.c */ /* ftm.c */
#include <stdio.h> #include <stdio.h>
@ -887,7 +887,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR libc (7), .BR libc (7),
.BR standards (7) .BR standards (7)

View File

@ -888,7 +888,7 @@ Listening for events stopped.
.fi .fi
.in .in
.SS Program source .SS Program source
.nf .EX
#include <errno.h> #include <errno.h>
#include <poll.h> #include <poll.h>
#include <stdio.h> #include <stdio.h>
@ -1078,7 +1078,7 @@ main(int argc, char* argv[])
free(wd); free(wd);
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR inotifywait (1), .BR inotifywait (1),
.BR inotifywatch (1), .BR inotifywatch (1),

View File

@ -182,7 +182,7 @@ Segmentation fault (core dumped)
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
#define _GNU_SOURCE #define _GNU_SOURCE
#include <unistd.h> #include <unistd.h>
#include <sys/syscall.h> #include <sys/syscall.h>

View File

@ -713,7 +713,7 @@ $
.fi .fi
.in .in
.SS Program source .SS Program source
.nf .EX
/* /*
* File connection.h * File connection.h
*/ */
@ -953,7 +953,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.PP .PP
For an example of the use of For an example of the use of
.BR SCM_RIGHTS .BR SCM_RIGHTS

View File

@ -1002,7 +1002,7 @@ CapEff: 0000001fffffffff
.in .in
.SS Program source .SS Program source
\& \&
.nf .EX
/* userns_child_exec.c /* userns_child_exec.c
Licensed under GNU General Public License v2 or later Licensed under GNU General Public License v2 or later
@ -1301,7 +1301,7 @@ main(int argc, char *argv[])
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
.fi .EE
.SH SEE ALSO .SH SEE ALSO
.BR newgidmap (1), \" From the shadow package .BR newgidmap (1), \" From the shadow package
.BR newuidmap (1), \" From the shadow package .BR newuidmap (1), \" From the shadow package