]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Various pages: retitle EXAMPLE section heading to EXAMPLES
authorMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 21 May 2020 08:00:37 +0000 (10:00 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 31 May 2020 08:45:27 +0000 (10:45 +0200)
EXAMPLES appears to be the wider majority usage across various
projects' manual pages, and is also what is used in the POSIX
manual pages.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
251 files changed:
man1/iconv.1
man1/locale.1
man1/localedef.1
man1/memusage.1
man1/memusagestat.1
man1/pldd.1
man1/sprof.1
man2/_syscall.2
man2/accept.2
man2/add_key.2
man2/bind.2
man2/chown.2
man2/clock_getres.2
man2/clone.2
man2/connect.2
man2/copy_file_range.2
man2/eventfd.2
man2/execve.2
man2/fork.2
man2/futex.2
man2/getdents.2
man2/getrlimit.2
man2/getxattr.2
man2/inotify_add_watch.2
man2/ioctl_fat.2
man2/ioctl_getfsmap.2
man2/ioctl_ns.2
man2/ioctl_tty.2
man2/ioctl_userfaultfd.2
man2/kcmp.2
man2/keyctl.2
man2/listen.2
man2/listxattr.2
man2/membarrier.2
man2/memfd_create.2
man2/mmap.2
man2/mprotect.2
man2/msgop.2
man2/open_by_handle_at.2
man2/perf_event_open.2
man2/pidfd_open.2
man2/pidfd_send_signal.2
man2/pipe.2
man2/pivot_root.2
man2/pkey_alloc.2
man2/poll.2
man2/process_vm_readv.2
man2/readlink.2
man2/readv.2
man2/recv.2
man2/recvmmsg.2
man2/request_key.2
man2/sched_setaffinity.2
man2/seccomp.2
man2/select.2
man2/select_tut.2
man2/semctl.2
man2/semget.2
man2/semop.2
man2/send.2
man2/sendmmsg.2
man2/setns.2
man2/shmget.2
man2/shmop.2
man2/sigaction.2
man2/sigaltstack.2
man2/signalfd.2
man2/socket.2
man2/splice.2
man2/spu_create.2
man2/spu_run.2
man2/stat.2
man2/syscall.2
man2/sysctl.2
man2/tee.2
man2/timer_create.2
man2/timer_getoverrun.2
man2/timer_settime.2
man2/timerfd_create.2
man2/unshare.2
man2/userfaultfd.2
man2/wait.2
man3/CPU_SET.3
man3/__ppc_get_timebase.3
man3/__setfpucw.3
man3/aio_cancel.3
man3/aio_error.3
man3/aio_read.3
man3/aio_return.3
man3/atexit.3
man3/backtrace.3
man3/basename.3
man3/bsearch.3
man3/bswap.3
man3/cacos.3
man3/cacosh.3
man3/catan.3
man3/catanh.3
man3/clock_getcpuclockid.3
man3/cmsg.3
man3/confstr.3
man3/div.3
man3/dl_iterate_phdr.3
man3/dlerror.3
man3/dlinfo.3
man3/dlopen.3
man3/dlsym.3
man3/duplocale.3
man3/encrypt.3
man3/end.3
man3/endian.3
man3/envz_add.3
man3/err.3
man3/fmemopen.3
man3/fmtmsg.3
man3/fopencookie.3
man3/frexp.3
man3/ftok.3
man3/ftw.3
man3/get_nprocs_conf.3
man3/get_phys_pages.3
man3/getaddrinfo.3
man3/getaddrinfo_a.3
man3/getdate.3
man3/getgrent_r.3
man3/getgrouplist.3
man3/getifaddrs.3
man3/getline.3
man3/getnameinfo.3
man3/getopt.3
man3/getprotoent_r.3
man3/getpwent_r.3
man3/getpwnam.3
man3/getservent_r.3
man3/getsubopt.3
man3/getutent.3
man3/glob.3
man3/gnu_get_libc_version.3
man3/hsearch.3
man3/if_nameindex.3
man3/inet.3
man3/inet_net_pton.3
man3/inet_ntop.3
man3/inet_pton.3
man3/insque.3
man3/makecontext.3
man3/mallinfo.3
man3/malloc_hook.3
man3/malloc_info.3
man3/mallopt.3
man3/matherr.3
man3/mbstowcs.3
man3/mcheck.3
man3/mempcpy.3
man3/mq_getattr.3
man3/mq_notify.3
man3/mtrace.3
man3/newlocale.3
man3/nl_langinfo.3
man3/offsetof.3
man3/open_memstream.3
man3/posix_spawn.3
man3/printf.3
man3/pthread_attr_init.3
man3/pthread_attr_setdetachstate.3
man3/pthread_attr_setguardsize.3
man3/pthread_attr_setinheritsched.3
man3/pthread_attr_setschedparam.3
man3/pthread_attr_setschedpolicy.3
man3/pthread_attr_setstack.3
man3/pthread_attr_setstacksize.3
man3/pthread_cancel.3
man3/pthread_cleanup_push.3
man3/pthread_create.3
man3/pthread_detach.3
man3/pthread_getattr_default_np.3
man3/pthread_getattr_np.3
man3/pthread_getcpuclockid.3
man3/pthread_join.3
man3/pthread_mutex_consistent.3
man3/pthread_mutexattr_setrobust.3
man3/pthread_setaffinity_np.3
man3/pthread_setcancelstate.3
man3/pthread_setname_np.3
man3/pthread_setschedparam.3
man3/pthread_sigmask.3
man3/pthread_testcancel.3
man3/pthread_tryjoin_np.3
man3/qsort.3
man3/rand.3
man3/remainder.3
man3/rpmatch.3
man3/rtime.3
man3/rtnetlink.3
man3/scandir.3
man3/scanf.3
man3/sem_init.3
man3/sem_post.3
man3/sem_wait.3
man3/setaliasent.3
man3/shm_open.3
man3/sigwait.3
man3/sockatmark.3
man3/stdarg.3
man3/stpcpy.3
man3/strcat.3
man3/strcmp.3
man3/strfmon.3
man3/strftime.3
man3/strptime.3
man3/strtod.3
man3/strtok.3
man3/strtol.3
man3/strtoul.3
man3/strverscmp.3
man3/tsearch.3
man3/uselocale.3
man3/wcstok.3
man3/wordexp.3
man4/loop.4
man4/vcs.4
man5/charmap.5
man5/core.5
man5/gai.conf.5
man5/hosts.5
man5/hosts.equiv.5
man5/nss.5
man5/repertoiremap.5
man5/shells.5
man5/ttytype.5
man7/aio.7
man7/complex.7
man7/cpuset.7
man7/fanotify.7
man7/feature_test_macros.7
man7/inotify.7
man7/man-pages.7
man7/mount_namespaces.7
man7/mq_overview.7
man7/namespaces.7
man7/netlink.7
man7/network_namespaces.7
man7/pid_namespaces.7
man7/pkeys.7
man7/rtld-audit.7
man7/sem_overview.7
man7/sock_diag.7
man7/spufs.7
man7/time_namespaces.7
man7/unix.7
man7/user_namespaces.7

index 6156ec75203a3202d1edd4fbe2cbd82988bc1a00..67cf27299a832c0c386077cdfe27226ad18ac6d6 100644 (file)
@@ -178,7 +178,7 @@ Usual system default gconv module configuration file.
 Usual system gconv module configuration cache.
 .SH CONFORMING TO
 POSIX.1-2001.
-.SH EXAMPLE
+.SH EXAMPLES
 Convert text from the ISO 8859-15 character encoding to UTF-8:
 .PP
 .in +4n
index fad256a678aae4c6c81fe52fc547ee2cdf55f632..d848f37cb429be646183a484d6f15cf2438fc687 100644 (file)
@@ -136,7 +136,7 @@ Usual default locale archive location.
 Usual default path for locale definition files.
 .SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 $ \fBlocale\fP
 LANG=en_US.UTF\-8
index 8d79a2f6390f4bf6abc1158cd100f3d2866e3232..dcd4ff90d16604fb6bdd7ef3f0180864d0206fd4 100644 (file)
@@ -373,7 +373,7 @@ An output file that contains information about formatting of data and
 time values.
 .SH CONFORMING TO
 POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 Compile the locale files for Finnish in the UTF\-8 character set
 and add it to the default locale archive with the name
 .BR fi_FI.UTF\-8 :
index aa5739eb029ef8da88fba00d422fedea0d297d7c..4a37e380c3cb59b57a5784a4fcdf49f3373735de 100644 (file)
@@ -201,7 +201,7 @@ Exit status is equal to the exit status of profiled program.
 To report bugs, see
 .UR http://www.gnu.org/software/libc/bugs.html
 .UE
-.SH EXAMPLE
+.SH EXAMPLES
 Below is a simple program that reallocates a block of
 memory in cycles that rise to a peak before then cyclically
 reallocating the memory in smaller blocks that return to zero.
index b010a5dedd3f7625cdf699ff497fd39067be0106..3d06cec3d4e7b081cba10a4da7a1ca753880bf2b 100644 (file)
@@ -82,7 +82,7 @@ Print version information and exit.
 To report bugs, see
 .UR http://www.gnu.org/software/libc/bugs.html
 .UE
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR memusage (1).
 .SH SEE ALSO
index 5f6eddcb1cdb41c0aec8aaa2b7cbb42d58ccb404..83df9c6d1537050cda860e8420ad57ace8625a45 100644 (file)
@@ -103,7 +103,7 @@ was broken: it just hung when executed.
 .\" glibc commit 1a4c27355e146b6d8cc6487b998462c7fdd1048f
 This problem was fixed in glibc 2.30, and the fix has been backported
 to earlier glibc versions in some distributions.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 $ \fBecho $$\fP               # Display PID of shell
 1143
index a5788c247f553f3373c721aec414ca0b2fc2e557..4c841abc2c9d5c0e0460d8f03a7b3d8902243228 100644 (file)
@@ -76,7 +76,7 @@ Display the program version and exit.
 The
 .B sprof
 command is a GNU extension, not present in POSIX.1.
-.SH EXAMPLE
+.SH EXAMPLES
 The following example demonstrates the use of
 .BR sprof .
 The example consists of a main program that calls two functions
index 2497632219e3b2c01ba160550defa86276905933..a51d5b1a84ab2ab7fd578b07815261e9b3ddd82b 100644 (file)
@@ -139,7 +139,7 @@ passed by-value or by-pointer (for aggregates like structs).
 .\" header file contains the required SYS_foo definition.
 .\" Otherwise, the use of a _syscall macro is required.
 .\"
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 #include <stdio.h>
 #include <stdlib.h>
index 87fe8127b48f5dc7b94c896f03ed5bb15629092c..f4407d932254581f81dd6034ad88ebe8bb4cd9ef 100644 (file)
@@ -367,7 +367,7 @@ standard wanted to change it into a \fIsize_t\ *\fPC;
 .\" SunOS 5 has 'size_t *'
 later POSIX standards and glibc 2.x have
 .IR "socklen_t\ * ".
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR bind (2).
 .SH SEE ALSO
index c7520250d0463e4680774abf67961fe48e2978be..e0dee15c655c11a109015dfcf94aeeeb9297cdcf 100644 (file)
@@ -221,7 +221,7 @@ A wrapper is provided in the
 package.
 When employing the wrapper in that library, link with
 .IR \-lkeyutils .
-.SH EXAMPLE
+.SH EXAMPLES
 The program below creates a key with the type, description, and payload
 specified in its command-line arguments,
 and links that key into the session keyring.
index c118c21619a6f6202f8e8a48e400636baeed441d..1ea120a4d4ccb81fb8d679dae6a898d14ab64c90 100644 (file)
@@ -256,7 +256,7 @@ type, see
 .SH BUGS
 The transparent proxy options are not described.
 .\" FIXME Document transparent proxy options
-.SH EXAMPLE
+.SH EXAMPLES
 An example of the use of
 .BR bind ()
 with Internet domain sockets can be found in
index 332516632ead9f78a035d6a41692077588e58f09..1276c56236b5c1e0dcc841d378892f205fa0820c 100644 (file)
@@ -446,7 +446,7 @@ as the old
 has got the same syscall number, and
 .BR chown ()
 got the newly introduced number.
-.SH EXAMPLE
+.SH EXAMPLES
 .PP
 The following program changes the ownership of the file named in
 its second command-line argument to the value specified in its
index d169d90b4f3ace7b480d2d2fa10c78adefb1083b..1cc0d830caa91dac756b05c15f705bec9f244aed 100644 (file)
@@ -437,7 +437,7 @@ and
 .BR CLOCK_THREAD_CPUTIME_ID ,
 on systems that provide such an implementation
 (i.e., Linux 2.6.12 and later).
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of
 .BR clock_gettime ()
 and
index 69325ef83c39fd009ec5fa38503176d689668ee8..9aa6f3aa634da33697e6252f9aca761916e521cf 100644 (file)
@@ -1771,7 +1771,7 @@ mypid = syscall(SYS_getpid);
 Because of the stale-cache problem, as well as other problems noted in
 .BR getpid (2),
 the PID caching feature was removed in glibc 2.25.
-.SH EXAMPLE
+.SH EXAMPLES
 The following program demonstrates the use of
 .BR clone ()
 to create a child process that executes in a separate UTS namespace.
index 125ca33ef965d778a0f0fa2010fd1c0458af0913..41296cf4ec6fc51fe51f2d7c2c002638aa3c6743 100644 (file)
@@ -286,7 +286,7 @@ If
 fails, consider the state of the socket as unspecified.
 Portable applications should close the socket and create a new one for
 reconnecting.
-.SH EXAMPLE
+.SH EXAMPLES
 An example of the use of
 .BR connect ()
 is shown in
index c0eb62db70b8ddee82cd2ecb81622fdbb1175ec8..67442d276c04f41db01dc3f5e9987d3662c3054a 100644 (file)
@@ -226,7 +226,7 @@ gives filesystems an opportunity to implement "copy acceleration" techniques,
 such as the use of reflinks (i.e., two or more inodes that share
 pointers to the same copy-on-write disk blocks)
 or server-side-copy (in the case of NFS).
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 #define _GNU_SOURCE
 #include <fcntl.h>
index d48f10b4300a225388654c06326442d0cb09dbf4..7917ec93fa177b8414ae620b0a1421ea18cfaafc 100644 (file)
@@ -357,7 +357,7 @@ The functions perform the read and write operations on an
 eventfd file descriptor,
 returning 0 if the correct number of bytes was transferred,
 or \-1 otherwise.
-.SH EXAMPLE
+.SH EXAMPLES
 .PP
 The following program creates an eventfd file descriptor
 and then forks to create a child process.
index 109c0d57d607bbe861a69acb926047c721fcfb49..72c3ff69bb2c35e0bb4ca9398c5a77fa29bf309f 100644 (file)
@@ -780,7 +780,7 @@ Since UNIX\ V7, both are NULL.
 .\" .BR execve ()
 .\" that could be exploited for denial of service by a suitably crafted
 .\" ELF binary. There are no known problems with 2.0.34 or 2.2.15.
-.SH EXAMPLE
+.SH EXAMPLES
 The following program is designed to be execed by the second program below.
 It just echoes its command-line arguments, one per line.
 .PP
index 235a88e50e9906f216815fb5ddedb6fc90b89731..05f3d23f2a16581278d4e2cc378349d88f016d85 100644 (file)
@@ -309,7 +309,7 @@ The glibc wrapper invokes any fork handlers that have been
 established using
 .BR pthread_atfork (3).
 .\" and does some magic to ensure that getpid(2) returns the right value.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR pipe (2)
 and
index 141ebaa459df9420521d39cc9340927f4d62d867..c7e3749a87f00d1e34890cea911fee7e98bace80 100644 (file)
@@ -1711,7 +1711,7 @@ various POSIX threads synchronization mechanisms
 .\"
 .\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 .\"
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates use of futexes in a program where a parent
 process and a child process use a pair of futexes located inside a
 shared anonymous mapping to synchronize access to a shared resource:
index a56fe02e5047e0a2eefcbbc79f196751822a2ab6..b48e6073ce5ff8b2931837b3e85cd2551b21949f 100644 (file)
@@ -228,7 +228,7 @@ instead of these system calls.
 .PP
 These calls supersede
 .BR readdir (2).
-.SH EXAMPLE
+.SH EXAMPLES
 .\" FIXME The example program needs to be revised, since it uses the older
 .\" getdents() system call and the structure with smaller field widths.
 The program below demonstrates the use of
index 5cf1d3388987c23b9f2b9b29187b0caf1da4369f..b240cac5d93cbd6a7afef40444ecd14aef1c653d 100644 (file)
@@ -776,7 +776,7 @@ and
 .BR getrlimit ()
 as wrapper functions that call
 .BR prlimit ().
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of
 .BR prlimit ().
 .PP
index d0ed96fb9387fdaf54fdcc9ef47f0a929701b056..65f8e4c72c7070df3eda836618c4791954944eba 100644 (file)
@@ -148,7 +148,7 @@ These system calls are Linux-specific.
 .\" and the SGI XFS development team,
 .\" .RI < linux-xfs@oss.sgi.com >.
 .\" Please send any bug reports or comments to these addresses.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR listxattr (2).
 .SH SEE ALSO
index 78e05e8695bdf1724c2baf8e7c1073a517e381ea..dcff071f75784b9639d9d5db87364ac90799ff1c 100644 (file)
@@ -140,7 +140,7 @@ is not a directory.
 Inotify was merged into the 2.6.13 Linux kernel.
 .SH CONFORMING TO
 This system call is Linux-specific.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR inotify (7).
 .SH SEE ALSO
index be86dfd8e2b429a5a91fe5c97b1334372d08d1c7..25fa11d95f8c633499fe3c3968328522530788bf 100644 (file)
@@ -243,7 +243,7 @@ was introduced in version 3.11
 of the Linux kernel.
 .SH CONFORMING TO
 This API is Linux-specific.
-.SH EXAMPLE
+.SH EXAMPLES
 .SS Toggling the archive flag
 The following program demonstrates the usage of
 .BR ioctl (2)
index 6892946c51b5885766f16e35102045764c989979..96f7bc75067f6080bc949941ff0603dd304d5f0a 100644 (file)
@@ -363,7 +363,7 @@ operation first appeared in Linux 4.12.
 .SH CONFORMING TO
 This API is Linux-specific.
 Not all filesystems support it.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .I io/fsmap.c
 in the
index 7d2196b49c0eb15f1cb045736e3dac90e70b3d08..9e45ff0944b5476ef2bc90f0410c250ae17d4821 100644 (file)
@@ -186,7 +186,7 @@ does not refer to a
 file.
 .SH CONFORMING TO
 Namespaces and the operations described on this page are a Linux-specific.
-.SH EXAMPLE
+.SH EXAMPLES
 The example shown below uses the
 .BR ioctl (2)
 operations described above to perform simple
index 63cc1454034ffffaa0c76b896a7a8fc935cbb9d2..d1d31482453a7bcacc6941083c175cdcf75beb25 100644 (file)
@@ -549,7 +549,7 @@ Inappropriate
 .TP
 .B EPERM
 Insufficient permission.
-.SH EXAMPLE
+.SH EXAMPLES
 Check the condition of DTR on the serial port.
 .PP
 .EX
index d417e30f399bcecf9c0fc8a3bb8ad71e85195b83..878fdb6e41401a8ed072e7461c5ccbb19193c7c2 100644 (file)
@@ -679,7 +679,7 @@ operation that queries features availability and reopened before
 the second
 .BR UFFDIO_API
 operation that actually enables the desired features.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR userfaultfd (2).
 .SH SEE ALSO
index 2fc70c5aa277fe204a528228936119826dc9ef46..812c08de2af28b9a33f020d802b0eddbd0fa15fa 100644 (file)
@@ -319,7 +319,7 @@ See
 .BR clone (2)
 for some background information on the shared resources
 referred to on this page.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below uses
 .BR kcmp ()
 to test whether pairs of file descriptors refer to
index 7536d98beaf0954a594a30dfa5682929de79b493..e2968d6720bfd28b644939a424c17e04f8468a81 100644 (file)
@@ -1961,7 +1961,7 @@ When employing the wrapper in that library, link with
 However, rather than using this system call directly,
 you probably want to use the various library functions
 mentioned in the descriptions of individual operations above.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below provide subset of the functionality of the
 .BR request-key (8)
 program provided by the
index 3544d85d5f526d7bd52d4bf9e5391978a96c39e6..a71698bf2ff8d27341a1b90ea91ab7dd91f38531 100644 (file)
@@ -175,7 +175,7 @@ with the value 128.
 .\" The following is now rather historic information (MTK, Jun 05)
 .\" Don't rely on this value in portable applications since BSD
 .\" (and some BSD-derived systems) limit the backlog to 5.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR bind (2).
 .SH SEE ALSO
index b10272dbce1e3f5f963bb6d3a868cc536a0be5c2..98a64a8fe92297f0918473f1bf2f95f90be74591 100644 (file)
@@ -171,7 +171,7 @@ attribute name list returned by
 .BR listxattr (7).
 If the total size of attribute names attached to a file exceeds this limit,
 it is no longer possible to retrieve the list of attribute names.
-.SH EXAMPLE
+.SH EXAMPLES
 The following program demonstrates the usage of
 .BR listxattr ()
 and
index f67867c6511849b3b3722d8805579fa4a751039d..5d7b1fd6ed269427db84f7e66ac5d60d5766f339 100644 (file)
@@ -270,7 +270,7 @@ Examples where
 .BR membarrier ()
 can be useful include implementations
 of Read-Copy-Update libraries and garbage collectors.
-.SH EXAMPLE
+.SH EXAMPLES
 Assuming a multithreaded application where "fast_path()" is executed
 very frequently, and where "slow_path()" is executed infrequently, the
 following code (x86) can be transformed using
index 5a59a2c414e4b00669ab95b51922a0d984f8392e..4aa0dbf7f82edf141a83d8256a5b5b1139e9910c 100644 (file)
@@ -341,7 +341,7 @@ If desired, the second process can apply further seals
 to impose additional restrictions (so long as the
 .BR F_SEAL_SEAL
 seal has not yet been applied).
-.SH EXAMPLE
+.SH EXAMPLES
 Below are shown two example programs that demonstrate the use of
 .BR memfd_create ()
 and the file sealing API.
index fe99f9f702299d19fde62770a1135282481f6bca..09e74d89a9b9e3c42d6d01791d99a1e6eed73b44 100644 (file)
@@ -904,7 +904,7 @@ however, this doesn't work on
 .BR tmpfs (5)
 (for example, when using the POSIX shared memory interface documented in
 .BR shm_overview (7)).
-.SH EXAMPLE
+.SH EXAMPLES
 .\" FIXME . Add an example here that uses an anonymous shared region for
 .\" IPC between parent and child.
 .PP
index d94b12f3fa6844ac2b9331464e551910a6e06186..3b0931bbc035f90d9a9203792ea00d816ae3346a 100644 (file)
@@ -283,7 +283,7 @@ When called this way, the operation of
 .BR pkey_mprotect ()
 is equivalent to
 .BR mprotect ().
-.SH EXAMPLE
+.SH EXAMPLES
 .\" sigaction.2 refers to this example
 .PP
 The program below demonstrates the use of
index 88aa9b0afe1206b3c3d901369bf70ccac6a8686d..f992d91a3a89d3482bd0100e69723d6f91412da5 100644 (file)
@@ -571,7 +571,7 @@ this error was not diagnosed by
 This bug is fixed
 .\" commit 4f87dac386cc43d5525da7a939d4b4e7edbea22c
 in Linux 3.14.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of
 .BR msgsnd ()
 and
index 27fa71620225d214133a2e1ed34aad2a9f5682bb..78c3220f87a059096a88ca01fe4d95a5642c5bbf 100644 (file)
@@ -467,7 +467,7 @@ in order to produce the
 .IR mount_fd
 argument used by
 .BR open_by_handle_at ().
-.SH EXAMPLE
+.SH EXAMPLES
 The two programs below demonstrate the use of
 .BR name_to_handle_at ()
 and
index 89d267c02818b774e945dce907ed57e2bcd765e5..37bb4386fb629e860d1705cbb9e218dffaf4fe01 100644 (file)
@@ -3390,7 +3390,7 @@ Various generalized events have had wrong values.
 For example, retired branches measured
 the wrong thing on AMD machines until Linux 2.6.35.
 .\" commit f287d332ce835f77a4f5077d2c0ef1e3f9ea42d2
-.SH EXAMPLE
+.SH EXAMPLES
 The following is a short example that measures the total
 instruction count of a call to
 .BR printf (3).
index f41a58fabb2960c3ba6a38a360c1f99e3ec08e11..246cabb0eac84c286ee1fa88f77caf404beef2ba 100644 (file)
@@ -193,7 +193,7 @@ furthermore, the file descriptor obtained in this way is
 .I not
 pollable and can't be waited on with
 .BR waitid (2).
-.SH EXAMPLE
+.SH EXAMPLES
 The program below opens a PID file descriptor for the
 process whose PID is specified as its command-line argument.
 It then uses
index fbf124412d64fa945ead6316c707581a34499bd6..95e897ff28db2a47dc19331e6e532a624f2d25b4 100644 (file)
@@ -176,7 +176,7 @@ if that process terminates,
 .BR pidfd_send_signal ()
 fails with the error
 .BR ESRCH .
-.SH EXAMPLE
+.SH EXAMPLES
 .nf
 #define _GNU_SOURCE
 #include <limits.h>
index ca0af8e389a53e6d9baba5db61f1ce06d3d0aa92..02896171f3cb09b3a539a687fb48ea1876db7403 100644 (file)
@@ -216,7 +216,7 @@ wrapper function transparently deals with this.
 See
 .BR syscall (2)
 for information regarding registers used for storing second file descriptor.
-.SH EXAMPLE
+.SH EXAMPLES
 .\" fork.2 refers to this example program.
 The following program creates a pipe, and then
 .BR fork (2)s
index 1995361616b0153117a7dc31c46f67a084caae09..683a171346bf9f618618a07da15d9364a8584ebc 100644 (file)
@@ -271,7 +271,7 @@ at that time that the implementation might change before final release.
 However, the behavior stated in DESCRIPTION
 has remained consistent since this system call
 was first implemented and will not change now.
-.SH EXAMPLE
+.SH EXAMPLES
 .\" FIXME
 .\" Would it be better, because simpler, to use unshare(2)
 .\" rather than clone(2) in the example below?
index 9e066338423dcc4c32ea8fccf3f8838917d08210..2983cf989c080f75c687651d8012c2c09f4a91ee 100644 (file)
@@ -131,7 +131,7 @@ or after it is freed via
 .BR pkey_free ()),
 the kernel may make arbitrary changes to the parts of the
 rights register affecting access to that key.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR pkeys (7).
 .SH SEE ALSO
index 2907eaf15d610719c9297cc884124d00daad80e2..e2a6c637b6be91837305e30e9de66ca8269bbaef 100644 (file)
@@ -477,7 +477,7 @@ notion of the sigset.
 See the discussion of spurious readiness notifications under the
 BUGS section of
 .BR select (2).
-.SH EXAMPLE
+.SH EXAMPLES
 The program below opens each of the files named in its command-line
 arguments and monitors the resulting file descriptors for readiness to read
 .RB ( POLLIN ).
index 59ad0c178e13a16f58459c9b9d9483a11035d25d..de78b584373a7db67e4a4da6c1f57be0dca88e80 100644 (file)
@@ -299,7 +299,7 @@ when using, for example, shared memory or pipes).
 .\" Original user is MPI, http://www.mcs.anl.gov/research/projects/mpi/
 .\" See also some benchmarks at http://lwn.net/Articles/405284/
 .\" and http://marc.info/?l=linux-mm&m=130105930902915&w=2
-.SH EXAMPLE
+.SH EXAMPLES
 The following code sample demonstrates the use of
 .BR process_vm_readv ().
 It reads 20 bytes at the address 0x10000 from the process with PID 10
index b540c2e3cbf6fa593d5b7070a780848c14cfa598..2a3645a3951b4e411d243dd08244d6eae72f96fe 100644 (file)
@@ -272,7 +272,7 @@ glibc constructs a pathname based on the symbolic link in
 that corresponds to the
 .IR dirfd
 argument.
-.SH EXAMPLE
+.SH EXAMPLES
 The following program allocates the buffer needed by
 .BR readlink ()
 dynamically from the information provided by
index af27aa63eb5f995e45210c2c4367133e6f27e0c9..30fc4f31a47d96c914dc57e7d07e09cfcc27b059 100644 (file)
@@ -408,7 +408,7 @@ that the system is running a Linux kernel older than version 2.6.18
 And since glibc 2.20
 (which requires a minimum Linux kernel version of 2.6.32),
 the glibc wrapper functions always just directly invoke the system calls.
-.SH EXAMPLE
+.SH EXAMPLES
 The following code sample demonstrates the use of
 .BR writev ():
 .PP
index e90477e1da9d1072b0e8b88a825909932c27762b..6d08e919a7c5f20f3239951de8d58b5ea0f2c3e4 100644 (file)
@@ -545,7 +545,7 @@ See
 .BR recvmmsg (2)
 for information about a Linux-specific system call
 that can be used to receive multiple datagrams in a single call.
-.SH EXAMPLE
+.SH EXAMPLES
 An example of the use of
 .BR recvfrom ()
 is shown in
index 1be4c5d723dc3f34e03b79b0f95cd69d171ff53a..13bf1def08784d9dd072522eb7c40f3894f91541 100644 (file)
@@ -189,7 +189,7 @@ The error code is expected to be returned on a subsequent call to
 In the current implementation, however, the error code can be overwritten
 in the meantime by an unrelated network event on a socket,
 for example an incoming ICMP packet.
-.SH EXAMPLE
+.SH EXAMPLES
 .PP
 The following program uses
 .BR recvmmsg ()
index e895d3a11b899b42edb1fc1133b4158fb4e971dc..e8a8f57e85e8639f0ff51433e1fcecf37b6c6e8a 100644 (file)
@@ -444,7 +444,7 @@ A wrapper is provided in the
 package.
 When employing the wrapper in that library, link with
 .IR \-lkeyutils .
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of
 .BR request_key ().
 The
index 685515734371411817fd86f3ab5e76aa73335f9d..1e50f80197f9d0cae67486afa2d3654d66f89d38 100644 (file)
@@ -303,7 +303,7 @@ counting those which are set, and stop upon reaching the value returned by
 .BR CPU_COUNT (3)
 (rather than iterating over the number of bits
 requested to be allocated).
-.SH EXAMPLE
+.SH EXAMPLES
 The program below creates a child process.
 The parent and child then each assign themselves to a specified CPU
 and execute identical loops that consume some CPU time.
index 4707f86287eb74e989b92e4c4c3c656923d48cdf..d16efc33997eb104ba2d9ed3fa6b4834b3681e96 100644 (file)
@@ -909,7 +909,7 @@ addressing mode modifier yields an immediate mode operand
 whose value is the size of the
 .IR seccomp_data
 buffer.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below accepts four or more arguments.
 The first three arguments are a system call number,
 a numeric architecture identifier, and an error number.
index deab3b0b2777393fa2415fae6f2027668af3b556..d56abc34f8f4ccfa3e27ddf2aba626a61874f374 100644 (file)
@@ -710,7 +710,7 @@ system call has the same behavior,
 but the glibc wrapper hides this behavior by internally copying the
 .I timeout
 to a local variable and passing that variable to the system call.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 #include <stdio.h>
 #include <stdlib.h>
index fac9731a5e103a90ce6aa027b08396ed27f24f2c..a41065f09cda24a376508f9e51a05591f292df13 100644 (file)
@@ -346,7 +346,7 @@ API provides an interface that is more efficient than
 and
 .BR poll (2)
 when monitoring large numbers of file descriptors.
-.SH EXAMPLE
+.SH EXAMPLES
 Here is an example that better demonstrates the true utility of
 .BR select ().
 The listing below is a TCP forwarding program that forwards
index e57519a937d327d24b471cf42f73b6a77fd29c17..e03e03c6f0ddb302b8ca27b5c751408c40b4fc45 100644 (file)
@@ -639,7 +639,7 @@ operations.
 This was rectified
 .\" commit a5f4db877177d2a3d7ae62a7bac3a5a27e083d7f
 in Linux 4.6.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR shmop (2).
 .SH SEE ALSO
index 21fda264e370d74d957acadc1894deef9210ec07..4277abe1701c7412d4493cde521cf921d40c71af 100644 (file)
@@ -313,7 +313,7 @@ The name choice
 was perhaps unfortunate,
 .B IPC_NEW
 would more clearly show its function.
-.SH EXAMPLE
+.SH EXAMPLES
 The program shown below uses
 .BR semget ()
 to create a new semaphore set or retrieve the ID of an existing set.
index 6cbb7819067eea2cb4031c26626d317fa89e17c4..f5529c0da64f00a67208a65d2b48897e1439e2e3 100644 (file)
@@ -517,7 +517,7 @@ This bug is fixed in kernel 2.6.11.
 .\" http://marc.theaimsgroup.com/?l=linux-kernel&m=110260821123863&w=2
 .\" the fix:
 .\" http://marc.theaimsgroup.com/?l=linux-kernel&m=110261701025794&w=2
-.SH EXAMPLE
+.SH EXAMPLES
 The following code segment uses
 .BR semop ()
 to atomically wait for the value of semaphore 0 to become zero,
index 44c9fdb420380b4536e0d8ed521099ba09d61d51..a952b918088cbfd54a1dc5f932ffbc755cd6aa35 100644 (file)
@@ -458,7 +458,7 @@ Linux may return
 .B EPIPE
 instead of
 .BR ENOTCONN .
-.SH EXAMPLE
+.SH EXAMPLES
 An example of the use of
 .BR sendto ()
 is shown in
index 88037608c84289e4cd4e13e2721edc14e75771ce..8a2b0e0a041de18093451a8b3955fc8cf0aed318 100644 (file)
@@ -174,7 +174,7 @@ The caller can retry the transmission,
 starting at the first failed message, but there is no guarantee that,
 if an error is returned, it will be the same as the one that was lost
 on the previous call.
-.SH EXAMPLE
+.SH EXAMPLES
 The example below uses
 .BR sendmmsg ()
 to send
index d86a6825ae32186c4031ec84d8bfeb7272ff344a..0cfbfb3915c04dc129178d147ad6917ea8da0307 100644 (file)
@@ -253,7 +253,7 @@ a new thread is created using
 .BR clone (2)
 can be changed using
 .BR setns ().
-.SH EXAMPLE
+.SH EXAMPLES
 The program below takes two or more arguments.
 The first argument specifies the pathname of a namespace file in an existing
 .I /proc/[pid]/ns/
index ecaf20686a536a3eb221b2b55405ac58a2f1b0d5..b58dc07fb096891a3de9992eaaa729d09e0c1a75 100644 (file)
@@ -411,7 +411,7 @@ The name choice
 was perhaps unfortunate,
 .B IPC_NEW
 would more clearly show its function.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR shmop (2).
 .SH SEE ALSO
index ed30ca91118edd589f41fc1a2a1078c6a63743da..3495d1a7ba557fdd35e14daa786886eef590e733 100644 (file)
@@ -291,7 +291,7 @@ is the same as the system page size.)
 The implementation places no intrinsic per-process limit on the
 number of shared memory segments
 .RB ( SHMSEG ).
-.SH EXAMPLE
+.SH EXAMPLES
 .PP
 The two programs shown below exchange a string using a shared memory segment.
 Further details about the programs are given below.
index 744cdfcc47edbf75d5126cb77422219fd6b9abaf..edae16e0c757b2755b53e0cf2b43c88d4a82e538 100644 (file)
@@ -1035,7 +1035,7 @@ prevents not only the delivered signal from being masked during
 execution of the handler, but also the signals specified in
 .IR sa_mask .
 This bug was fixed in kernel 2.6.14.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR mprotect (2).
 .SH SEE ALSO
index 98d4d9c707a7178f4a3d5ed55ad854b0687d11ac..dd2cd84dbe286cc08192fb4c7e4aad198c44c5fb 100644 (file)
@@ -324,7 +324,7 @@ give an error if
 .B SS_ONSTACK
 is specified in
 .IR ss.ss_flags .
-.SH EXAMPLE
+.SH EXAMPLES
 The following code segment demonstrates the use of
 .BR sigaltstack ()
 (and
index 080b8a15604b8cf746dd7adff6cc196d1ffb5612..7f82f5d377869242b5b3081db1d5fd774a841e1f 100644 (file)
@@ -444,7 +444,7 @@ and
 fields are not filled in with the data accompanying a signal sent by
 .BR sigqueue (3).
 .\" The fix also was put into 2.6.24.5
-.SH EXAMPLE
+.SH EXAMPLES
 The program below accepts the signals
 .B SIGINT
 and
index 0b3b90bb8ca86cda7c22cd319c52fd4e8906f6ce..d75e5b38a52f9360785fe6182ded208a147ca3c5 100644 (file)
@@ -485,7 +485,7 @@ families.
 However, already the BSD man page promises: "The protocol
 family generally is the same as the address family", and subsequent
 standards use AF_* everywhere.
-.SH EXAMPLE
+.SH EXAMPLES
 An example of the use of
 .BR socket ()
 is shown in
index d1123e310f079a15435a7c59231509cda08bccb5..a401996e41abdcb96513979136e4c26c878688d6 100644 (file)
@@ -261,7 +261,7 @@ was required to be a pipe.
 Since Linux 2.6.31,
 .\" commit 7c77f0b3f9208c339a4b40737bb2cb0f0319bb8d
 both arguments may refer to pipes.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR tee (2).
 .SH SEE ALSO
index 875c5dcd3d72e4cbecc7a2f4c74ec12efc83c4c6..bacd0c74a22721541b844c9fb709ff24c8f1d4e8 100644 (file)
@@ -262,7 +262,7 @@ See
 .UR http://www.bsc.es\:/projects\:/deepcomputing\:/linuxoncell/
 .UE
 for the recommended libraries.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR spu_run (2)
 for an example of the use of
index 7ab0ad96ba56bb57d50d575c9e098873375c2d7a..8c5a5bcc294890ed6e40fadf0443f6ab09ae6cba 100644 (file)
@@ -204,7 +204,7 @@ See
 .UR http://www.bsc.es\:/projects\:/deepcomputing\:/linuxoncell/
 .UE
 for the recommended libraries.
-.SH EXAMPLE
+.SH EXAMPLES
 The following is an example of running a simple, one-instruction SPU
 program with the
 .BR spu_run ()
index 8ef79f8a93cf671a369b1d8fbca14ce5cee74779..43469d8e53d0e9b5c752b0d84c6dded8605decb9 100644 (file)
@@ -640,7 +640,7 @@ wrapper function is actually called
 or, on some architectures,
 .\" strace(1) shows the name "newfstatat" on x86-64
 .BR newfstatat ().
-.SH EXAMPLE
+.SH EXAMPLES
 The following program calls
 .BR lstat ()
 and displays selected fields in the returned
index e3a0ceac1d43c7893dcf76457a17ed35ed282ffe..2fd94db53998eead100e05c42e358fd9386f96da 100644 (file)
@@ -369,7 +369,7 @@ arguments 5 through 8 on the user stack.
 .PP
 Note that these tables don't cover the entire calling convention\(emsome
 architectures may indiscriminately clobber other registers not listed here.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 #define _GNU_SOURCE
 #include <unistd.h>
index f7b5318f6a7b9d497d872e002fd3e96c0921ad1d..482b5a4515379e665009a7aba2904123de0da127 100644 (file)
@@ -133,7 +133,7 @@ Not all available objects are properly documented.
 .PP
 It is not yet possible to change operating system by writing to
 .IR /proc/sys/kernel/ostype .
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 #define _GNU_SOURCE
 #include <unistd.h>
index 03d043b4617abb1c7b1a79cb398effec058e8407..c65cffb9ef41aaae9512ceb1075ee6339f10ee93 100644 (file)
@@ -133,7 +133,7 @@ under the covers,
 .BR tee ()
 assigns data to the output by merely grabbing
 a reference to the input.
-.SH EXAMPLE
+.SH EXAMPLES
 The example below implements a basic
 .BR tee (1)
 program using the
index bab928d1af0e79d449c1d04ca47963e7e53ea8f5..9f64843fc87d749200382f2960b3b13ed6c12501 100644 (file)
@@ -335,7 +335,7 @@ and in glibc versions before 2.17,
 .\" glibc commit 93a78ac437ba44f493333d7e2a4b0249839ce460
 the implementation falls back to this technique on systems
 running pre-2.6 Linux kernels.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below takes two arguments: a sleep period in seconds,
 and a timer frequency in nanoseconds.
 The program establishes a handler for the signal it uses for the timer,
index 73c3b490fd9d52d610fa3d133b59d61a485da8f1..84242ef46d7edb0b8c164c91eb1f94015e01a459 100644 (file)
@@ -126,7 +126,7 @@ if the timer overrun value exceeds the maximum representable integer,
 the counter cycles, starting once more from low values.
 .\" Bug filed: http://bugzilla.kernel.org/show_bug.cgi?id=12665
 .\" http://thread.gmane.org/gmane.linux.kernel/113276/
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR timer_create (2).
 .SH SEE ALSO
index e2b5d8c323fde0fefda91c42f5ad39bcc5581490..9fb8b1acc19c57c17c7703b79f2041dc40fa06e9 100644 (file)
@@ -206,7 +206,7 @@ is negative or greater than 999,999,999.
 These system calls are available since Linux 2.6.
 .SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR timer_create (2).
 .SH SEE ALSO
index 37a8c73f5339652f780194bd5539ac3c5d7f43cc..7434c746f4db31208403cf412114fb36248df8f2 100644 (file)
@@ -552,7 +552,7 @@ Currently,
 .BR timerfd_create ()
 supports fewer types of clock IDs than
 .BR timer_create (2).
-.SH EXAMPLE
+.SH EXAMPLES
 The following program creates a timer and then monitors its progress.
 The program accepts up to three command-line arguments.
 The first argument specifies the number of seconds for
index 7614614e35f3c6a2a59090506997e7966ccb5110..d3242be705f3e7012171f8e80cf8316f2bc37407 100644 (file)
@@ -460,7 +460,7 @@ Such functionality may be added in the future, if required.
 .\"be incrementally added to unshare without affecting legacy
 .\"applications using unshare.
 .\"
-.SH EXAMPLE
+.SH EXAMPLES
 The program below provides a simple implementation of the
 .BR unshare (1)
 command, which unshares one or more namespaces and executes the
index ba21ae29ba2da333ff7bda66f8fd55d84af7c13a..4a9232a55748c0170b363f8d1c48fa4cdf2d2bc3 100644 (file)
@@ -483,7 +483,7 @@ might be created.
 In this case, a spurious
 .B UFFD_EVENT_FORK
 will be delivered to the userfaultfd monitor.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of the userfaultfd mechanism.
 The program creates two threads, one of which acts as the
 page-fault handler for the process, for the pages in a demand-page zero
index a2327d23d39bcb5359344bbd5d94897ff72f56ea..eda36bb68b6929bfeef137e27bd084da7d50e06f 100644 (file)
@@ -618,7 +618,7 @@ is NULL,
 succeeds, and returns the process ID of the waited-for child.
 Applications should avoid relying on this inconsistent,
 nonstandard, and unnecessary feature.
-.SH EXAMPLE
+.SH EXAMPLES
 .\" fork.2 refers to this example program.
 The following program demonstrates the use of
 .BR fork (2)
index 0a020a82ee25da1b73a5b3e6ae42899d49428098..db5da81eeb3ced67a2c96409a4571ee35840cba4 100644 (file)
@@ -312,7 +312,7 @@ and less efficient operation of the macros that
 operate on dynamically allocated CPU sets.
 These bugs are fixed in glibc 2.9.
 .\" http://sourceware.org/bugzilla/show_bug.cgi?id=7029
-.SH EXAMPLE
+.SH EXAMPLES
 The following program demonstrates the use of some of the macros
 used for dynamically allocated CPU sets.
 .PP
index 6622f3138a459b0f1fe377a04b4b813ef70469d3..ff254f7ef9d29e284e455e0f3d95d1cdb89609de 100644 (file)
@@ -63,7 +63,7 @@ has been provided since version 2.16 and
 has been available since version 2.17.
 .SH CONFORMING TO
 Both functions are nonstandard GNU extensions.
-.SH EXAMPLE
+.SH EXAMPLES
 The following program will calculate the time, in microseconds, spent
 between two calls to
 .BR __ppc_get_timebase ().
index 01b4334ebc3f15c6efaf92f76ffe467bdc24f06b..dedf17af7f19892345d40e334939ce3ec206b857 100644 (file)
@@ -48,7 +48,7 @@ and
 macros from
 .I <fpu_control.h>
 can be used.
-.SH EXAMPLE
+.SH EXAMPLES
 .B __setfpucw(0x1372)
 .PP
 Set FPU control word on the i386 architecture to
index 4897c1a0cb256d1dee6831482c3e684beadcdf5a..a94e2655a02feac0026daaec5f51edd1aba5fdbe 100644 (file)
@@ -125,7 +125,7 @@ T}  Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR aio (7).
 .SH SEE ALSO
index 7fccd2dfdaac6915cd1c30ce04b6a7d5e30b5a78..ff264934a2c8be58f3ec776f0f5d03c87c680821 100644 (file)
@@ -93,7 +93,7 @@ T}    Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR aio (7).
 .SH SEE ALSO
index 455a3c5dc9dceb72eb2fb4df173d4d6ceccaaa13..54c3c3097180c974d021f11ce762fc9bafb0e2b3 100644 (file)
@@ -155,7 +155,7 @@ The memory areas involved must remain valid.
 Simultaneous I/O operations specifying the same
 .I aiocb
 structure produce undefined results.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR aio (7).
 .SH SEE ALSO
index 237e569e814c26e0991013eae98b817b13020337..baea7cb4996ca272ca8729b707dc28f1bf872f62 100644 (file)
@@ -89,7 +89,7 @@ T}    Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR aio (7).
 .SH SEE ALSO
index 139d90f878ac67b6bbf81b63cacde6728dbd7a2c..e5faa41d4df9ad4e5222e2f124437d847eea8535 100644 (file)
@@ -143,7 +143,7 @@ Since glibc 2.2.3,
 .BR on_exit (3))
 can be used within a shared library to establish functions
 that are called when the shared library is unloaded.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 #include <stdio.h>
 #include <stdlib.h>
index 57c8bd7e7b3b6ca3b406bf989607a1d51fc209a7..2bfb6ebdb5627d1be5b444e3264cca82d81683ee 100644 (file)
@@ -196,7 +196,7 @@ For systems using the GNU linker, it is necessary to use the
 linker option.
 Note that names of "static" functions are not exposed,
 and won't be available in the backtrace.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of
 .BR backtrace ()
 and
index e1e1a31287c5b665602d820e2312311661876a1a..c880fb3b6aff328645c399ae4132e910190b2393 100644 (file)
@@ -178,7 +178,7 @@ Before glibc 2.2.1, the glibc version of
 .BR dirname ()
 did not correctly handle pathnames with trailing \(aq/\(aq characters,
 and generated a segfault if given a NULL argument.
-.SH EXAMPLE
+.SH EXAMPLES
 The following code snippet demonstrates the use of
 .BR basename ()
 and
index b10a4dda2e89d129eaebf984b886cbb637aa0f71..63ca0c899f4b9878252f2463d06482f2e6b9f0e2 100644 (file)
@@ -89,7 +89,7 @@ T}    Thread safety   MT-Safe
 .sp 1
 .SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD.
-.SH EXAMPLE
+.SH EXAMPLES
 The example below first sorts an array of structures using
 .BR qsort (3),
 then retrieves desired elements using
index 0ce7d6997b422216d6c416855371587727dcb24b..6975aabfa2c6beaadefc772ae59568900258a777 100644 (file)
@@ -42,7 +42,7 @@ These macros return the value of their argument with the bytes reversed.
 These macros always succeed.
 .SH CONFORMING TO
 These macros are GNU extensions.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below swaps the bytes of the 8-byte integer supplied as
 its command-line argument.
 The following shell session demonstrates the use of the program:
index 37f4ca13e6e0432bd5c7b73e8ca9775e27ed07d4..a1ce6fd1b5cbc6ad85ba8affaee4fa79bdbbf4e8 100644 (file)
@@ -49,7 +49,7 @@ T}    Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 C99, POSIX.1-2001, POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 /* Link with "\-lm" */
 
index 8abc31d21565651442e31ae29c09f19d0aff481d..36841ff808e23c944cfc5bf3f0a298e2470fb765 100644 (file)
@@ -52,7 +52,7 @@ T}    Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 C99, POSIX.1-2001, POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 /* Link with "\-lm" */
 
index 582d3f94fe518abe5ec16a642103615a894c87be..81be2ed46778e99806e9d775bec48ebf7f002bf9 100644 (file)
@@ -47,7 +47,7 @@ T}    Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 C99, POSIX.1-2001, POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 /* Link with "\-lm" */
 
index 1ebd2b2b838654787052feb5619512f65bc5a13f..1f45b3e950231d7630c36c4aa43b1a97e2542f09 100644 (file)
@@ -49,7 +49,7 @@ T}    Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 C99, POSIX.1-2001, POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 /* Link with "\-lm" */
 
index 5d96fec45a6b774d8f20cbd58a62de021fa3e339..3db221f24cc0d545dc9edf2b49fc810d3a2131cf 100644 (file)
@@ -109,7 +109,7 @@ with a
 of 0,
 is the same as using the clock ID
 .BR CLOCK_PROCESS_CPUTIME_ID .
-.SH EXAMPLE
+.SH EXAMPLES
 The example program below obtains the
 CPU-time clock ID of the process whose ID is given on the command line,
 and then uses
index d1209d95a63162302c28edcf9ee8f15954bf82ab..2c6e39fbe03b0f6dfb232234ae5a08fe2dd2b911 100644 (file)
@@ -186,7 +186,7 @@ and
 are constant expressions (assuming their argument is constant),
 meaning that these values can be used to declare the size of global variables.
 This may not be portable, however.
-.SH EXAMPLE
+.SH EXAMPLES
 This code looks for the
 .B IP_TTL
 option in a received ancillary buffer:
index dcf5426f9a8af7d8f9fbf5d0c06a880c50513d7d..0171349b5d722522217feabef4fc49b1a28dd233 100644 (file)
@@ -140,7 +140,7 @@ T}  Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 The following code fragment determines the path where to find
 the POSIX.2 system utilities:
 .PP
index c9bc049704f90b68701e592e9468c52e6518f624..2bf35f958593cd6392fbc02bfa6055726f807af9 100644 (file)
@@ -104,7 +104,7 @@ The functions
 and
 .BR imaxdiv ()
 were added in C99.
-.SH EXAMPLE
+.SH EXAMPLES
 After
 .PP
 .in +4n
index 41605185ad9c5559b0ebc080a56c19f94ca8cece..0eb6680411d2d215dbd9ea17cda3b32269823b95 100644 (file)
@@ -243,7 +243,7 @@ is the main program.
 For the main program, the
 .I dlpi_name
 field will be an empty string.
-.SH EXAMPLE
+.SH EXAMPLES
 The following program displays a list of pathnames of the
 shared objects it has loaded.
 For each shared object, the program lists some information
index 475f2cd7ff9f6736336acae502839da1358652fb..a69f95695fda48f7ad06d2b304235ac0e8ebe8b4 100644 (file)
@@ -81,7 +81,7 @@ calls.
 .\" .in
 .SS History
 This function is part of the dlopen API, derived from SunOS.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR dlopen (3).
 .SH SEE ALSO
index 2606ec60925e45c2731e1588ebe6896f9cfed678..6b83cdc7568dd83bddc8af160e1ac9093e3e41f6 100644 (file)
@@ -241,7 +241,7 @@ This function derives from the Solaris function of the same name
 and also appears on some other systems.
 The sets of requests supported by the various implementations
 overlaps only partially.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below opens a shared objects using
 .BR dlopen (3)
 and then uses the
index 3bf2251549a1a9b8be2a836f43c902bef2a8664b..a5ee54a18cdf1e4316c56d6043549c9cf2f804bf 100644 (file)
@@ -544,7 +544,7 @@ results in a program crash
 .\" https://sourceware.org/bugzilla/show_bug.cgi?id=18684
 if the call is made from any object loaded in a
 namespace other than the initial namespace.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below loads the (glibc) math library,
 looks up the address of the
 .BR cos (3)
index 5ea151209d5127db9a9edbbba53fd545264ddc8c..13a14bc62152b69313f32e98192e77e784009a24 100644 (file)
@@ -166,7 +166,7 @@ The
 function is part of the dlopen API, derived from SunOS.
 That system does not have
 .BR dlvsym ().
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR dlopen (3).
 .SH SEE ALSO
index c675d64a0fb5819af587e837d1563bff6860f8ff..0c1f0f31a6db37e74a368f3c46a08a7f7ada25e8 100644 (file)
@@ -115,7 +115,7 @@ Each locale object created by
 .BR duplocale ()
 should be deallocated using
 .BR  freelocale (3).
-.SH EXAMPLE
+.SH EXAMPLES
 The program below uses
 .BR uselocale (3)
 and
index fb7f87e2f1bfdd00cfb13413d8db0bcdceed8cb6..adca287a8b948bd4ea6c8db128112018ee54c102 100644 (file)
@@ -163,7 +163,7 @@ See
 .BR crypt (3).
 .SS Features in glibc
 In glibc 2.2, these functions use the DES algorithm.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 #define _XOPEN_SOURCE
 #include <stdio.h>
index 185615789077e1d3bfe9a8d565bd6220011bd334..e87ab60ffe6680eb7d4458199a8f15abae33f5c6 100644 (file)
@@ -73,7 +73,7 @@ or
 Use
 .BR sbrk (2)
 with an argument of zero to find the current value of the program break.
-.SH EXAMPLE
+.SH EXAMPLES
 When run, the program below produces output such as the following:
 .PP
 .in +4n
index 4ff6558582233425d8c01a0e22cde71d17c06c5e..f5a5c471d178342853897ed71ccc7d26f87e1d6b 100644 (file)
@@ -127,7 +127,7 @@ on all UNIX systems.
 On the other hand, the fact that they were designed
 for use in the context of TCP/IP means that
 they lack the 64-bit and little-endian variants described in this page.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below display the results of converting an integer
 from host byte order to both little-endian and big-endian byte order.
 Since host byte order is either little-endian or big-endian,
index 94ded873739b339f7aefc66799ff3c722ae9081c..7cdf0893d5dc50e166f8390bc038ab72403516c3 100644 (file)
@@ -138,7 +138,7 @@ T}  Thread safety   MT-Safe
 .SH CONFORMING TO
 These functions are a GNU extension.
 Handle with care.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 #include <stdio.h>
 #include <stdlib.h>
index d163b64920fabc0e11b32a8f57a820310c91a20e..d009042d6283a12a0b76d57c3a17d57d32f68370 100644 (file)
@@ -138,7 +138,7 @@ These functions are nonstandard BSD extensions.
 .\" .BR warn ()
 .\" functions first appeared in
 .\" 4.4BSD.
-.SH EXAMPLE
+.SH EXAMPLES
 Display the current
 .I errno
 information string and exit:
index efac77c933c91e6fac0f667bf98a6a30f0d0a099..b1fcc9eac8a2eaae39ac94140bc3ad19c491c346 100644 (file)
@@ -278,7 +278,7 @@ silently changed the ABI: previously,
 .BR fmemopen ()
 ignored \(aqb\(aq in
 .IR mode .
-.SH EXAMPLE
+.SH EXAMPLES
 The program below uses
 .BR fmemopen ()
 to open an input buffer, and
index c4b4901e47cafca2f89e6d3857f7c0bf773b85e4..4bd04a00656558e66302fabf29010c37bbcf6420 100644 (file)
@@ -266,7 +266,7 @@ are described in POSIX.1-2001 and POSIX.1-2008.
 System V and UnixWare man pages tell us that these functions
 have been replaced by "pfmt() and addsev()" or by "pfmt(),
 vpfmt(), lfmt(), and vlfmt()", and will be removed later.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 #include <stdio.h>
 #include <stdlib.h>
index 909881c7bec36647a959fbcb5399d8a1dfdf9c40..f7803936ce60b47b08e96f72626cc8f098cc6216 100644 (file)
@@ -256,7 +256,7 @@ T}  Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 This function is a nonstandard GNU extension.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below implements a custom stream whose functionality
 is similar (but not identical) to that available via
 .BR fmemopen (3).
index 604d01f0b878541d1e722e0f8f486d37462ef1be..97b11ab8e8d233bf9cb314977e02829cc59e6c41 100644 (file)
@@ -118,7 +118,7 @@ The variant returning
 .I double
 also conforms to
 SVr4, 4.3BSD, C89.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below produces results such as the following:
 .PP
 .in +4n
index 1b1313a61a37b5a1239be4e710fc20802f323b65..8c496591d42f7aa6dbe2e39d4183c3c8d3f0bd5b 100644 (file)
@@ -112,7 +112,7 @@ Collisions may easily happen, for example between files on
 .I /dev/hda1
 and files on
 .IR /dev/sda1 .
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR semget (2).
 .SH SEE ALSO
index 3821da448fa350d849aca44e49bae8ce730acd27..db14de284604a6dfa234ffc542eae604d05bab82 100644 (file)
@@ -443,7 +443,7 @@ This regression was eventually fixed in glibc 2.30,
 .\" http://austingroupbugs.net/view.php?id=1121
 .\" https://bugzilla.redhat.com/show_bug.cgi?id=1422736
 so that the glibc implementation (once more) follows the POSIX specification.
-.SH EXAMPLE
+.SH EXAMPLES
 The following program traverses the directory tree under the path named
 in its first command-line argument, or under the current directory
 if no argument is supplied.
index b9740c9dfe4f0e85d4713e6d068cbc25587530dd..d6edf4f5c591753d239e0679ffd2eb61c48454e2 100644 (file)
@@ -81,7 +81,7 @@ np = sysconf(_SC_NPROCESSORS_CONF);     /* processors configured */
 np = sysconf(_SC_NPROCESSORS_ONLN);     /* processors available */
 .EE
 .in
-.SH EXAMPLE
+.SH EXAMPLES
 The following example shows how
 .BR get_nprocs ()
 and
index 3580333dabf24768cdc827962ae1bbf95a8a8bae..ddd0eb71af03ed934e78bcc882b586c517574fbd 100644 (file)
@@ -76,7 +76,7 @@ total_pages = sysconf(_SC_PHYS_PAGES);    /* total pages */
 avl_pages = sysconf(_SC_AVPHYS_PAGES);    /* available pages */
 .EE
 .in
-.SH EXAMPLE
+.SH EXAMPLES
 The following example shows how
 .BR get_phys_pages ()
 and
index 830ef944d35fd5cc57be42cb082d2a38fbda131e..12f77ce94e4df25c6e34861e16e392ce5b958c32 100644 (file)
@@ -637,7 +637,7 @@ The GNU C library instead assumes a value of
 .BR "(AI_V4MAPPED\ |\ AI_ADDRCONFIG)"
 for this case,
 since this value is considered an improvement on the specification.
-.SH EXAMPLE
+.SH EXAMPLES
 .\" getnameinfo.3 refers to this example
 .\" socket.2 refers to this example
 .\" bind.2 refers to this example
index f84895b75de86a7e3e80f979a897969b2cf7a6d3..3a3b77bda7cd3b53e5c65f3ff522fbdd5639ffdd 100644 (file)
@@ -328,7 +328,7 @@ The interface of
 was modeled after the
 .BR lio_listio (3)
 interface.
-.SH EXAMPLE
+.SH EXAMPLES
 Two examples are provided: a simple example that resolves
 several requests in parallel synchronously, and a complex example
 showing some of the asynchronous capabilities.
index 199c6fed435ea5e7a9c6ed6d7d1797dc40643d7e..65d49e25e068ed88a232aa7aac146335d85ee3b1 100644 (file)
@@ -227,7 +227,7 @@ In glibc,
 is implemented using
 .BR strptime (3),
 so that precisely the same conversions are supported by both.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below calls
 .BR getdate ()
 for each of its command-line arguments,
index 0b0ea62a68767b1766395f525c366436c0c894d2..5c89c34153d273b6a0ed3f1574dca209281f6814 100644 (file)
@@ -169,7 +169,7 @@ The function
 .BR getgrent_r ()
 is not really reentrant since it shares the reading position
 in the stream with all other threads.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 #define _GNU_SOURCE
 #include <grp.h>
index ee98354ab549b33941ea30bb6fddd3312d51dbba..86cc6196152d30fb1918d6cbe1aa5690636e0551 100644 (file)
@@ -121,7 +121,7 @@ in the array
 .IR groups ,
 even when the number of groups exceeds
 .IR *ngroups .
-.SH EXAMPLE
+.SH EXAMPLES
 .PP
 The program below displays the group list for the user named in its
 first command-line argument.
index 72f873929338b60cd5e8b04eb465efe3533652c6..ebdf6dc4ab152b3eb097cdbe742098b4253f9847 100644 (file)
@@ -218,7 +218,7 @@ defined in
 defined in
 .IR <linux/netdevice.h> ),
 which contains various interface attributes and statistics.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of
 .BR getifaddrs (),
 .BR freeifaddrs (),
index 3bc294ce87cad5679f26c8d54f47d7880fb2a670..d02424f3fe79be74f0e53afb2a1074e0f68c1bb7 100644 (file)
@@ -158,7 +158,7 @@ and
 .BR getdelim ()
 were originally GNU extensions.
 They were standardized in POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 #define _GNU_SOURCE
 #include <stdio.h>
index 78e2592b7fc35a1760b666d4517a6d7106fa7cac..7ed1734175af8edbae447990882e99b15d3a4e7b 100644 (file)
@@ -258,7 +258,7 @@ and
 .I servlen
 arguments were typed as
 .IR size_t .
-.SH EXAMPLE
+.SH EXAMPLES
 The following code tries to get the numeric hostname and service name,
 for a given socket address.
 Note that there is no hardcoded reference to
index 9cedb05d568482d62ee51e5270172b6445254b9d..dd4c1d3b5a21f9b3bbdc04b870455a3134d36282 100644 (file)
@@ -394,7 +394,7 @@ routine that rechecks
 .B POSIXLY_CORRECT
 and checks for GNU extensions in
 .IR optstring .)
-.SH EXAMPLE
+.SH EXAMPLES
 .SS getopt()
 The following trivial example program uses
 .BR getopt ()
index 57b9c63afbdc63af23cb727f5332c0bd58abf609..4e85cf7eab20f6202625f77bce74661dd91f9404 100644 (file)
@@ -150,7 +150,7 @@ T}  Thread safety   MT-Safe locale
 These functions are GNU extensions.
 Functions with similar names exist on some other systems,
 though typically with different calling signatures.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below uses
 .BR getprotobyname_r ()
 to retrieve the protocol record for the protocol named
index 19979da4a2e2ee66638c29e9de590e318b959429..e8c52144d10381cde8092fc523a981cde065a346 100644 (file)
@@ -174,7 +174,7 @@ The function
 .BR getpwent_r ()
 is not really reentrant since it shares the reading position
 in the stream with all other threads.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 #define _GNU_SOURCE
 #include <pwd.h>
index d8b4f19c82b7b1208bfd99659090351913eeeac4..c71af9e5ade143d811b246c0f13ff1e117ed7f44 100644 (file)
@@ -275,7 +275,7 @@ To determine the (initial) home directory of another user,
 it is necessary to use
 .I getpwnam("username")\->pw_dir
 or similar.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of
 .BR getpwnam_r ()
 to find the full username and user ID for the username
index a9add50acda79a55ebf3dc04c5b7c2da644844de..50b876a39b979d8ba5ed6c26d374b07a7e17a1dd 100644 (file)
@@ -148,7 +148,7 @@ T}  Thread safety   MT-Safe locale
 These functions are GNU extensions.
 Functions with similar names exist on some other systems,
 though typically with different calling signatures.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below uses
 .BR getservbyport_r ()
 to retrieve the service record for the port and protocol named
index 01b483cacb2c16385998fd8464bfd05ec2841b44..40cd3da022d694e283a703c9a0e657300ccfa1f2 100644 (file)
@@ -149,7 +149,7 @@ Since
 overwrites any commas it finds in the string
 .IR *optionp ,
 that string must be writable; it cannot be a string constant.
-.SH EXAMPLE
+.SH EXAMPLES
 The following program expects suboptions following a "\-o" option.
 .PP
 .EX
index e45a7177cede835b19baf9ae825cdf91cca9c16d..68c762c190a3ac51b2079b4caf8dae5be6390da9 100644 (file)
@@ -307,7 +307,7 @@ On success, they return 0, and a pointer to the result is written in
 On error, these functions return \-1.
 There are no utmpx equivalents of the above functions.
 (POSIX.1 does not specify such functions.)
-.SH EXAMPLE
+.SH EXAMPLES
 The following example adds and removes a utmp record, assuming it is run
 from within a pseudo terminal.
 For usage in a real application, you
index cb87b1a40ce736d66f1620a48ce3b155add88fef..5e92dfcf413261391f02731fa1e450fcb6caf0b4 100644 (file)
@@ -325,7 +325,7 @@ or
 .BR opendir (3).
 These will store their error code in
 .IR errno .
-.SH EXAMPLE
+.SH EXAMPLES
 One example of use is the following code, which simulates typing
 .PP
 .in +4n
index a1a9e4d7cee32417a292589c916bd91e12964111..d609a3c57dc2a8c585d02bb24f662037a22a4c5c 100644 (file)
@@ -61,7 +61,7 @@ T}    Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 These functions are glibc-specific.
-.SH EXAMPLE
+.SH EXAMPLES
 When run, the program below will produce output such as the following:
 .PP
 .in +4n
index 9365e9e2260b2ab7b9e6da8127624f49ee790251..2ff066a3e38dcdeb8c666705ea74df2e5a83cc3d 100644 (file)
@@ -297,7 +297,7 @@ implementation violates the specification,
 updating the \fIdata\fP for the given \fIkey\fP in this case.
 .PP
 Individual hash table entries can be added, but not deleted.
-.SH EXAMPLE
+.SH EXAMPLES
 .PP
 The following program inserts 24 items into a hash table, then prints
 some of them.
index 8bddc00b662d22678031e6c13e4b25f777035c45..aba6421b6a189434ac1839b8e77218a35e6cc643 100644 (file)
@@ -120,7 +120,7 @@ T}  Thread safety   MT-Safe
 POSIX.1-2001, POSIX.1-2008, RFC\ 3493.
 .PP
 This function first appeared in BSDi.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of the functions described
 on this page.
 An example of the output this program might produce is the following:
index fe32815604f3737a3132a25b533a1fec51f2d93f..e5379de513a0be07079d848d9961605a8692a48e 100644 (file)
@@ -285,7 +285,7 @@ Classful network addresses are now obsolete,
 having been superseded by Classless Inter-Domain Routing (CIDR),
 which divides addresses into network and host components at
 arbitrary bit (rather than byte) boundaries.
-.SH EXAMPLE
+.SH EXAMPLES
 An example of the use of
 .BR inet_aton ()
 and
index 7de25786e33deed17c696cb100fb419b72018672..e191aec006fd2dce8bf228c022a2800fd28fb4f0 100644 (file)
@@ -244,7 +244,7 @@ but the number of octets specified in the network number exceed
 then
 .I bits
 is set to 8 times the number of octets actually specified.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of
 .BR inet_net_pton ()
 and
index 8c04640974c708401c8b2a9caad4251416acdc50..b06e5343a3824a258da5a23b9cd595b1ce328bbd 100644 (file)
@@ -125,7 +125,7 @@ but 2.2 and later have
 .SH BUGS
 .B AF_INET6
 converts IPv4-mapped IPv6 addresses into an IPv6 format.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR inet_pton (3).
 .SH SEE ALSO
index db481273e4dac5ead47d4ec6acfd6d4fceea020f..81b5ca3028d230ae0631dc878ac1574264259d9f 100644 (file)
@@ -167,7 +167,7 @@ does not recognize IPv4 addresses.
 An explicit IPv4-mapped IPv6 address must be supplied in
 .I src
 instead.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of
 .BR inet_pton ()
 and
index 27922c950f576d374a1ea77fe2b595b9527ffceb..6ff0d9d60fb1b9e65808b5afc76b055b6570ddc0 100644 (file)
@@ -148,7 +148,7 @@ as NULL.
 Consequently, to build a linear list, the caller had to build a list
 using an initial call that contained the first two elements of the list,
 with the forward and backward pointers in each element suitably initialized.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of
 .BR insque ().
 Here is an example run of the program:
index 852c48f67d530b27cce6644a3cbf8ab11ee9defe..9a04fb2a7c6dfcf39bed03ae4811469aea34a288 100644 (file)
@@ -149,7 +149,7 @@ and won't work on architectures where pointers are larger than
 Nevertheless, starting with version 2.8, glibc makes some changes to
 .BR makecontext (),
 to permit this on some 64-bit architectures (e.g., x86-64).
-.SH EXAMPLE
+.SH EXAMPLES
 .PP
 The example program below demonstrates the use of
 .BR getcontext (3),
index 677a9a1cfd8a17d46160d8b3ae28f55b4c1450bb..738f786fd998d16ef2c894063f1d130bc106d7fc 100644 (file)
@@ -164,7 +164,7 @@ structure are typed as
 However, because some internal bookkeeping values may be of type
 .IR long ,
 the reported values may wrap around zero and thus be inaccurate.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below employs
 .BR mallinfo ()
 to retrieve memory allocation statistics before and after
index fa809101864d4bd0ffd9186c48950167c935c96c..1efb33ef7b4428711b06775d530db53114f87125 100644 (file)
@@ -91,7 +91,7 @@ variable has been removed from the API.
 .\" http://sourceware.org/bugzilla/show_bug.cgi?id=9957
 Programmers should instead preempt calls to the relevant functions
 by defining and exporting functions such as "malloc" and "free".
-.SH EXAMPLE
+.SH EXAMPLES
 Here is a short example of how to use these variables.
 .PP
 .EX
index 7953abd5fba49638af473aa2e6e8820361965b62..fad4e06adf65b8a8c24475567b2a15336fc874b2 100644 (file)
@@ -94,7 +94,7 @@ function is designed to address deficiencies in
 .BR malloc_stats (3)
 and
 .BR mallinfo (3).
-.SH EXAMPLE
+.SH EXAMPLES
 The program below takes up to four command-line arguments,
 of which the first three are mandatory.
 The first argument specifies the number of threads that
index 4d49365ca6fbe525721bfdca0fd3deacb5194876..304801388d1aef3327372a9f9fc8f4d2bcf51564 100644 (file)
@@ -511,7 +511,7 @@ being freed by the call
 the block starting at
 .I p+sizeof(size_t)
 is initialized.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of
 .BR M_CHECK_ACTION .
 If the program is supplied with an (integer) command-line argument,
index 8bba0e37c26557d95b70575cbc6621091c015e72..cceeaedf8b4f904d06b3f2ff1736974831fb040f 100644 (file)
@@ -286,7 +286,7 @@ T{
 .BR matherr ()
 T}     Thread safety   MT-Safe
 .TE
-.SH EXAMPLE
+.SH EXAMPLES
 The example program demonstrates the use of
 .BR matherr ()
 when calling
index b4d3c02fb98acdc9a431d47757159e6a6d1451f4..6aef9c34e5d390974d4b3f72e055402337b1f782 100644 (file)
@@ -118,7 +118,7 @@ The function
 .BR mbsrtowcs (3)
 provides a better interface to the same
 functionality.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below illustrates the use of
 .BR mbstowcs (),
 as well as some of the wide character classification functions.
index 09a8fb16d235b0cfbea14f1ca17e88465664b69f..4966165c22d8214058516332b4418ad0caa31dfc 100644 (file)
@@ -177,7 +177,7 @@ But, using
 .B MALLOC_CHECK_
 does not require the application to be relinked.
 .\" But is MALLOC_CHECK_ slower?
-.SH EXAMPLE
+.SH EXAMPLES
 The program below calls
 .BR mcheck ()
 with a NULL argument and then frees the same block of memory twice.
index 590f5167072eb5d11dbf885198646ce68ffb356d..6bf9c0b82a83f49bfb05fa5ebab07122d828a36d 100644 (file)
@@ -70,7 +70,7 @@ T}    Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 This function is a GNU extension.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 void *
 combine(void *o1, size_t s1, void *o2, size_t s2)
index 90b2f486937ff47b4b09393588f47ddebeba1366..ca90a55e523eb838d5bf2b184cc5af24897a173d 100644 (file)
@@ -157,7 +157,7 @@ and
 are library functions layered on top of the
 .BR mq_getsetattr (2)
 system call.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below can be used to show the default
 .I mq_maxmsg
 and
index 290f53cf615129dfff22837fb80b13096f018607..6da3dbd75356ab325a15772f2bfb94d93b787085 100644 (file)
@@ -208,7 +208,7 @@ The implementation involves the use of a raw
 .BR netlink (7)
 socket and creates a new thread for each notification that is
 delivered to the process.
-.SH EXAMPLE
+.SH EXAMPLES
 The following program registers a notification request for the
 message queue named in its command-line argument.
 Notification is performed by creating a thread.
index ff9f0fc5df846002f26f2d21b928d44ae68c5d8d..2923c6fb43a01a33f0e83e23c23bae5a1a880391 100644 (file)
@@ -127,7 +127,7 @@ The line-number information produced by
 is not always precise:
 the line number references may refer to the previous or following (nonblank)
 line of the source code.
-.SH EXAMPLE
+.SH EXAMPLES
 The shell session below demonstrates the use of the
 .BR mtrace ()
 function and the
index ea9b11d65326547b576aa811dc6f32f2f867176e..ea9805e6544eee37f2952b5eddee5bacbbce4656 100644 (file)
@@ -218,7 +218,7 @@ Each locale object created by
 .BR newlocale ()
 should be deallocated using
 .BR freelocale ().
-.SH EXAMPLE
+.SH EXAMPLES
 The program below takes up to two command-line arguments,
 which each identify locales.
 The first argument is required, and is used to set the
index 65cb5a2795dd2972e5254083c01e71ae9d17f400..fe222f51242a6e85886ca15ea09eb97361276593 100644 (file)
@@ -318,7 +318,7 @@ is undefined if
 is the special locale object
 .BR LC_GLOBAL_LOCALE
 or is not a valid locale object handle.
-.SH EXAMPLE
+.SH EXAMPLES
 The following program sets the character type and the numeric locale
 according to the environment and queries the terminal character set and
 the radix character.
index 6f79533a1cf29d83c200d05eff7c11bb3bbfec4e..a1ff43621be6880a4e0bb636671dbcb3b9820a49 100644 (file)
@@ -62,7 +62,7 @@ within the given
 in units of bytes.
 .SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008, C89, C99.
-.SH EXAMPLE
+.SH EXAMPLES
 On a Linux/i386 system, when compiled using the default
 .BR gcc (1)
 options, the program below produces the following output:
index b3cc47b32649589170d3c82f89f91167154dcd4d..1fe3a3b3c99cff1761bb11d570f7df57d01733f7 100644 (file)
@@ -136,7 +136,7 @@ does not enlarge the buffer; instead the
 .BR fseek (3)
 call fails, returning \-1.
 .\" http://sourceware.org/bugzilla/show_bug.cgi?id=1996
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR fmemopen (3).
 .SH SEE ALSO
index c21c90f502881f423e7ce50a12cd66d0d39e5130..9bc00fe19cfb677d4de360c65f60f422d3d9130c 100644 (file)
@@ -600,7 +600,7 @@ failed with an error if
 .BR POSIX_SPAWN_SETSCHEDULER
 was specified without also specifying
 .BR POSIX_SPAWN_SETSCHEDPARAM .
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of various functions in the
 POSIX spawn API.
 The program accepts command-line attributes that can be used
index 827d9cbae6c0b9c2d2d31211dcefc1d27e3c8e60..d8b164d1414db321eb1266b89aea655f4c3f7fcc 100644 (file)
@@ -1068,7 +1068,7 @@ call to write to memory and creating a security hole.
 .\" .PP
 .\" Some floating-point conversions under early libc4
 .\" caused memory leaks.
-.SH EXAMPLE
+.SH EXAMPLES
 To print
 .I Pi
 to five decimal places:
index da478b923790266d869cb2e03d2de14a81022063..ce99f8fafdd7dad6fdbc93538aac5150f0f5622d 100644 (file)
@@ -99,7 +99,7 @@ The
 type should be treated as opaque:
 any access to the object other than via pthreads functions
 is nonportable and produces undefined results.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below optionally makes use of
 .BR pthread_attr_init ()
 and various related functions to initialize a thread attributes
index 76c63fb8f91cbb5db8861b42e05bbf8d5e2d3978..07ff61e25257813f132642adbf042092558a79fb 100644 (file)
@@ -118,7 +118,7 @@ in a later call to
 .BR pthread_detach (3)
 or
 .BR pthread_join (3).
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR pthread_attr_init (3).
 .SH SEE ALSO
index 2f87a8cc07f444c137a96ffe031e2fa5b472feb1..dee6c8169145c5317e67dd2727cad5ce920f7fcd 100644 (file)
@@ -165,7 +165,7 @@ allocating extra space at the end of the stack for the guard area.
 .\" Reportedly, LinuxThreads did the right thing, allocating
 .\" extra space at the end of the stack:
 .\" http://sourceware.org/ml/libc-alpha/2008-05/msg00086.html
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR pthread_getattr_np (3).
 .SH SEE ALSO
index cdbc0db7e391f6c1cd37443c8ead3afe2e04ba77..7204ef909bd3b6c98c861a3190744fc8d163b0c3 100644 (file)
@@ -138,7 +138,7 @@ in the thread attributes object before calling
 .BR pthread_create (3).
 .\" FIXME . Track status of the following bug:
 .\" http://sourceware.org/bugzilla/show_bug.cgi?id=7007
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR pthread_setschedparam (3).
 .SH SEE ALSO
index 003c88ebb8863539fb93815d90188436df36e303..78ff4b5e58bd379953e778ae2189dea096195674 100644 (file)
@@ -123,7 +123,7 @@ POSIX.1-2001, POSIX.1-2008.
 See
 .BR pthread_attr_setschedpolicy (3)
 for a list of the thread scheduling policies supported on Linux.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR pthread_setschedparam (3).
 .SH SEE ALSO
index 9b1dd2588d959a3aaf7ec6045235fc8cbd038f14..ccdbad4c28624c2e685d3935181fef8fccfc6520 100644 (file)
@@ -112,7 +112,7 @@ T}  Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR pthread_setschedparam (3).
 .SH SEE ALSO
index 54759838b1f15eb045045b36b2244ac8a96516f2..76f466c8a2704e43b9243625fdfa6b8293ed8579 100644 (file)
@@ -162,7 +162,7 @@ stack address attribute between calls to
 .BR pthread_create (3);
 otherwise, the threads will attempt to use the same memory area
 for their stacks, and chaos will ensue.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR pthread_attr_init (3).
 .SH SEE ALSO
index 9f01b40393e421035ffce498dfe4053f27580bf3..93301e80005c1677edb540336230615c452c550c 100644 (file)
@@ -118,7 +118,7 @@ in violation of POSIX.1, which says that the allocated stack will
 be at least
 .I stacksize
 bytes.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR pthread_create (3).
 .SH SEE ALSO
index 03387f2a6c8cc4ae9bf7db24877444c76cebbb82..c83ff7730aa09da55461d93ff28ef75900bc367f 100644 (file)
@@ -145,7 +145,7 @@ On LinuxThreads, the second real-time signal is used,
 if real-time signals are available, otherwise
 .B SIGUSR2
 is used.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below creates a thread and then cancels it.
 The main thread joins with the canceled thread to check
 that its exit status was
index 6d74f3a93536f1146c4098f0290f0736a6fe99c0..1efe93c4eea310e2c6bdc61dfdbccdb001c9bbf1 100644 (file)
@@ -166,7 +166,7 @@ and
 .BR pthread_cleanup_pop ()
 is undefined.
 Portable applications should avoid doing this.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below provides a simple example of the use of the functions
 described in this page.
 The program creates a thread that executes a loop bracketed by
index c1d47fb051c2898c09512de3a89980e3edb049fb..2814076575fe0c27cfc3037cb3bcb6d22fa08356 100644 (file)
@@ -236,7 +236,7 @@ each of the threads in a process has a different process ID.
 This is in violation of the POSIX threads specification,
 and is the source of many other nonconformances to the standard; see
 .BR pthreads (7).
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of
 .BR pthread_create (),
 as well as a number of other functions in the pthreads API.
index 84b9757db2dc8226bec3f1bfa4aed80a67df4408..310687625a27f6735768d4a8cfd071208588c976 100644 (file)
@@ -103,7 +103,7 @@ should be called for each thread that an application creates,
 so that system resources for the thread can be released.
 (But note that the resources of any threads for which one of these
 actions has not been done will be freed when the process terminates.)
-.SH EXAMPLE
+.SH EXAMPLES
 The following statement detaches the calling thread:
 .PP
     pthread_detach(pthread_self());
index abc7b5ff2dff555774ac45f7cf7bf043b0397db8..3604fc692b88b57dda5d2d1ec775793de058ee44 100644 (file)
@@ -96,7 +96,7 @@ T}    Thread safety   MT-Safe
 .SH CONFORMING TO
 These functions are nonstandard GNU extensions;
 hence the suffix "_np" (nonportable) in their names.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below uses
 .BR pthread_getattr_default_np ()
 to fetch the default thread-creation attributes and then displays
index 5006dd430ebe954592c1385f135d0e21461cf3ed..137057f9bc1353c8abb78500ccb2d7df0e6e2c2e 100644 (file)
@@ -112,7 +112,7 @@ T}  Thread safety   MT-Safe
 .SH CONFORMING TO
 This function is a nonstandard GNU extension;
 hence the suffix "_np" (nonportable) in the name.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of
 .BR pthread_getattr_np ().
 The program creates a thread that then uses
index f76cbbd4c53136f8314159c740b4b17e3873e226..f26a7ba4647b5d97fa44553032973b0b83899e7e 100644 (file)
@@ -90,7 +90,7 @@ and
 .BR clock_settime (2)
 when given the clock ID
 .BR CLOCK_THREAD_CPUTIME_ID .
-.SH EXAMPLE
+.SH EXAMPLES
 The program below creates a thread and then uses
 .BR clock_gettime (2)
 to retrieve the total process CPU time,
index 2245225deec7810ce9ca6f7bdc057185f5b215bc..7fd3c5bd8fea3e0874a52b26ee636fb2d15e2514 100644 (file)
@@ -137,7 +137,7 @@ you probably need to rethink your application design.
 .PP
 All of the threads in a process are peers:
 any thread can join with any other thread in the process.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR pthread_create (3).
 .SH SEE ALSO
index b898a8af181cb5eba32b97ed0ec55e3ce585cd16..c3943855673f5a783c3b0cdc47d877649552c483 100644 (file)
@@ -93,7 +93,7 @@ was defined:
 .PP
 This GNU-specific API, which first appeared in glibc 2.4,
 is nowadays obsolete and should not be used in new programs.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR pthread_mutexattr_setrobust (3).
 .SH SEE ALSO
index 950388271a89038119fb2d568e9eb822cee8de37..3030750bb914d0248f89cd309784fa64600bc118 100644 (file)
@@ -185,7 +185,7 @@ were also defined.
 .PP
 These GNU-specific APIs, which first appeared in glibc 2.4,
 are nowadays obsolete and should not be used in new programs.
-.SH EXAMPLE
+.SH EXAMPLES
 .PP
 The program below demonstrates the use of the robustness attribute of a
 mutex attributes object.
index ccbf9768b85d82dfe60cdf0f0da39b756e590ad8..bb6c5a6dccb3af098380ab55863ec4eeced3e919 100644 (file)
@@ -160,7 +160,7 @@ Instead the CPU set size given to the underlying system calls was always
 A new thread created by
 .BR pthread_create (3)
 inherits a copy of its creator's CPU affinity mask.
-.SH EXAMPLE
+.SH EXAMPLES
 In the following program, the main thread uses
 .BR pthread_setaffinity_np ()
 to set its CPU affinity mask to include CPUs 0 to 7
index 1ed96bd77f959baeb1e99f0e4f2c865f97294b4f..01ff4f1283eed282b553f74b72cf9ed161f83b19 100644 (file)
@@ -202,7 +202,7 @@ A precisely analogous set of statements applies for the
 .I oldtype
 argument of
 .BR pthread_setcanceltype ().
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR pthread_cancel (3).
 .SH SEE ALSO
index c416653e5790fd5fbf5651d8694c5c72c7d8bf27..790d040eab450a66cc73429e7a36174e35526259 100644 (file)
@@ -126,7 +126,7 @@ filesystem:
 .IR /proc/self/task/[tid]/comm .
 .BR pthread_getname_np ()
 retrieves it from the same location.
-.SH EXAMPLE
+.SH EXAMPLES
 .PP
 The program below demonstrates the use of
 .BR pthread_setname_np ()
index 3c0ae8d17bcb6d17f98071bbb30d4c24d2c937cd..acfaf81a1254f3fc5e89dd09a2351c0a8f56396a 100644 (file)
@@ -159,7 +159,7 @@ changing a thread's scheduling policy and priority,
 and details of the permitted ranges for priorities
 in each scheduling policy, see
 .BR sched (7).
-.SH EXAMPLE
+.SH EXAMPLES
 The program below demonstrates the use of
 .BR pthread_setschedparam ()
 and
index e6e24b480d45238a18f1c7f3a7ad4aebf67f9257..f4a49be391856df6b4c576ef2c2fbde0a03794a9 100644 (file)
@@ -90,7 +90,7 @@ are used internally by the NPTL threading implementation.
 See
 .BR nptl (7)
 for details.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below blocks some signals in the main thread,
 and then creates a dedicated thread to fetch those signals via
 .BR sigwait (3).
index 32b48592f887504c51578975b31680457b397088..bb8e7019999a4c5b395955d69a3971954e5c423f 100644 (file)
@@ -69,7 +69,7 @@ T}    Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR pthread_cleanup_push (3).
 .SH SEE ALSO
index bba7b51f1aeefc914c4cbc0689869e88c4e18432..6cf7109850273cd665cb71368976b235bb946f33 100644 (file)
@@ -135,7 +135,7 @@ T}  Thread safety   MT-Safe
 .SH CONFORMING TO
 These functions are nonstandard GNU extensions;
 hence the suffix "_np" (nonportable) in the names.
-.SH EXAMPLE
+.SH EXAMPLES
 The following code waits to join for up to 5 seconds:
 .PP
 .in +4n
index 07ff4a13ed5fbf68695b13dc00ada184a287d0d7..1935901d422bfa50ae845b82289ee56595651717 100644 (file)
@@ -118,7 +118,7 @@ POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD.
 To compare C strings, the comparison function can call
 .BR strcmp (3),
 as shown in the example below.
-.SH EXAMPLE
+.SH EXAMPLES
 For one example of use, see the example under
 .BR bsearch (3).
 .PP
index 61d4ae6f4b3999b85f90922fd88ffb016954163f..99bb7ce6777e8993a31f30ad810c7921e1acd8d8 100644 (file)
@@ -177,7 +177,7 @@ when good randomness is needed.
 (Use
 .BR random (3)
 instead.)
-.SH EXAMPLE
+.SH EXAMPLES
 POSIX.1-2001 gives the following example of an implementation of
 .BR rand ()
 and
index 59b2038e81674133cab676505afb05901f607011..fd5c330b0f8cf548616c3238f1d47d132b25b943 100644 (file)
@@ -234,7 +234,7 @@ for the domain error that occurs when
 is an infinity and
 .I y
 is not a NaN.
-.SH EXAMPLE
+.SH EXAMPLES
 The call "remainder(29.0, 3.0)" returns \-1.
 .SH SEE ALSO
 .BR div (3),
index 1ca665ea752f3fcae8e3339b08f50118b34c6bee..72f4d42a18b07df1dcc9fa3e128b3188de040b49 100644 (file)
@@ -132,7 +132,7 @@ expression notation described in
 .B ^([yY]|yes|YES)$
 and
 .BR ^([nN]|no|NO)$ .
-.SH EXAMPLE
+.SH EXAMPLES
 The following program displays the results when
 .BR rpmatch ()
 is applied to the string given in the program's command-line argument.
index cacdf41d1cdf2aff1db615d28e8c53fbf917598a..b341de91204c6869b325cc4b4e82262c15773875 100644 (file)
@@ -89,7 +89,7 @@ instead of
 .SH BUGS
 .BR rtime ()
 in glibc 2.2.5 and earlier does not work properly on 64-bit machines.
-.SH EXAMPLE
+.SH EXAMPLES
 This example requires that port 37 is up and open.
 You may check
 that the time entry within
index b738530cf462c835a935c9c6a42d28295f596c8e..89f4f59c2cd05083e2139026e25f392e87867812 100644 (file)
@@ -83,7 +83,7 @@ bytes of data.
 These macros are nonstandard Linux extensions.
 .SH BUGS
 This manual page is incomplete.
-.SH EXAMPLE
+.SH EXAMPLES
 .\" FIXME . ? would be better to use libnetlink in the EXAMPLE code here
 Creating a rtnetlink message to set the MTU of a device:
 .PP
index 1545fd3b6e828ed7f30a72c83a488a79d00a302e..9cfabf758907d8e668a3405b22a7af1054406593 100644 (file)
@@ -287,7 +287,7 @@ and glibc 2.10 changed the definition of
 (and the nonstandard
 .BR versionsort ())
 to match the standard.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below prints a list of the files in the current directory
 in reverse order.
 .\"
index aef6283a9f49c3755e6480a4ed327c7f2be81c61..02f5a74ba9ac4c331606a10003604ab36b4acafd 100644 (file)
@@ -731,7 +731,7 @@ The usage of
 is not the same as on 4.4BSD,
 as it may be used in float conversions equivalently to
 .BR L .
-.SH EXAMPLE
+.SH EXAMPLES
 To use the dynamic allocation conversion specifier, specify
 .B m
 as a length modifier (thus
index 693cc58e4d356bea8c3dbe0a990aa70d57a5f3cf..723e572a1044bd6fc9dc86b2a7334471105e1dfc 100644 (file)
@@ -111,7 +111,7 @@ Bizarrely, POSIX.1-2001 does not specify the value that should
 be returned by a successful call to
 .BR sem_init ().
 POSIX.1-2008 rectifies this, specifying the zero return on success.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR shm_open (3)
 and
index 1ef9371b9b7680e9bf12433d99631456ac1e69f6..2f1b53320d304abe4826d9e0a407c18a407c0b04 100644 (file)
@@ -76,7 +76,7 @@ POSIX.1-2001.
 .BR sem_post ()
 is async-signal-safe:
 it may be safely called within a signal handler.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR sem_wait (3)
 and
index 8632c97a10d461691a51bb3d13fb15d19adab374..0014174bacbf9489be489714cbc6fae2367e013c 100644 (file)
@@ -156,7 +156,7 @@ T}  Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 .PP
 The (somewhat trivial) program shown below operates on an
 unnamed semaphore.
index bc0a8b63667005c80f59f7bda9f0976a57386467..069deffb52a39cc73f831a4153b75c6099d162c0 100644 (file)
@@ -133,7 +133,7 @@ alias_ent *alias_getent(void);
 alias_ent *alias_getbyname(char *name);
 .EE
 .in
-.SH EXAMPLE
+.SH EXAMPLES
 The following example compiles with
 .IR "gcc example.c \-o example" .
 It will dump all names in the alias database.
index 9c7e5cdfeb19ed5f0748f6cb09375cdb33fbc7f0..bbda0a0c5e0e9fcd155ab92044349c9ccf259388 100644 (file)
@@ -285,7 +285,7 @@ of a dedicated
 .BR tmpfs (5)
 filesystem that is normally mounted under
 .IR /dev/shm .
-.SH EXAMPLE
+.SH EXAMPLES
 The programs below employ POSIX shared memory and POSIX unnamed semaphores
 to exchange a piece of data.
 The "bounce" program (which must be run first) raises the case
index 17a5c57a9c676cfa39782869029e4a68cd6cec0e..63beb8bb370f0744d715db24d9016e9f4f8dc74a 100644 (file)
@@ -109,7 +109,7 @@ are used internally by the NPTL threading implementation.
 See
 .BR nptl (7)
 for details.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR pthread_sigmask (3).
 .SH SEE ALSO
index fc7022216a27570d8f31652fe1af1ef074f4ca94..e882430b05c3dee0a770d9463667a98e157b1fb4 100644 (file)
@@ -108,7 +108,7 @@ operation.
 Prior to glibc 2.4,
 .BR sockatmark ()
 did not work.
-.SH EXAMPLE
+.SH EXAMPLES
 The following code can be used after receipt of a
 .B SIGURG
 signal to read (and discard) all data up to the mark,
index a21dcaab1e1a4a5b87324c6fe431cdb45e70eb86..0a1bfb9efdd1d62081fcc6036042b60e8ac11cff 100644 (file)
@@ -269,7 +269,7 @@ pass all of their arguments on to a function that takes a
 .I va_list
 argument, such as
 .BR vfprintf (3).
-.SH EXAMPLE
+.SH EXAMPLES
 The function
 .I foo
 takes a string of format characters and prints out the argument associated
index f10d01035f8289120fb6498f1879d84a4c3b07e6..5fda5bab613bd8397a5848302ec50ebaeeffcee2 100644 (file)
@@ -92,7 +92,7 @@ It is also present on the BSDs.
 .SH BUGS
 This function may overrun the buffer
 .IR dest .
-.SH EXAMPLE
+.SH EXAMPLES
 For example, this program uses
 .BR stpcpy ()
 to concatenate
index c3b0bd2c8532a38bf22a55ba46bd475b40ca6e5a..888ae9d0e35cc7d86f9ed64289463882fee87c96 100644 (file)
@@ -180,7 +180,7 @@ but is available on Linux via the
 .IR libbsd
 library.
 .\"
-.SH EXAMPLE
+.SH EXAMPLES
 Because
 .BR strcat ()
 and
index f1046f2e312737003b6126f7e814607ae0be412a..9305c603ffac28bccea649d9cdea5f425f6c46e2 100644 (file)
@@ -126,7 +126,7 @@ the last compared byte in
 from the last compared byte in
 .IR s1 .
 (If the two characters are equal, this difference is 0.)
-.SH EXAMPLE
+.SH EXAMPLES
 The program below can be used to demonstrate the operation of
 .BR strcmp ()
 (when given two arguments) and
index a0f475491b6f5fc967de46f8cec1bc49a3b616ee..1dc1b64466e13f9342f28b04c659bc1f2cc8846d 100644 (file)
@@ -175,7 +175,7 @@ T}  Thread safety   MT-Safe
 .sp 1
 .SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 The call
 .PP
 .in +4n
index 984165c4e56195cfb68406f45d38f4c0261bf935..c236f7df5909a7bdeafdf4c8ecefb32d0f498378 100644 (file)
@@ -681,7 +681,7 @@ provides the
 .IR \-Wno\-format\-y2k
 option to prevent the warning,
 so that the above workaround is no longer required.
-.SH EXAMPLE
+.SH EXAMPLES
 .BR "RFC\ 2822-compliant date format"
 (with an English locale for %a and %b)
 .PP
index 29366339e3e837406f1ab128113166408ddf22eb..01eada7622f43017a2aa81060f7ca3a0d0e00eab 100644 (file)
@@ -411,7 +411,7 @@ Leap seconds are not counted unless leap second support is available.
 .PP
 The glibc implementation does not require whitespace between
 two field descriptors.
-.SH EXAMPLE
+.SH EXAMPLES
 The following example demonstrates the use of
 .BR strptime ()
 and
index d3b6de005916258220518fe56136f252861211a8..c54573ca45415a8d626492e84cc6ccb2d7bec2ae 100644 (file)
@@ -197,7 +197,7 @@ mantissa component of the returned value.
 .\" something similar.
 .\" C11 says: "An implementation may use the n-char sequence to determine
 .\"    extra information to be represented in the NaN's significant."
-.SH EXAMPLE
+.SH EXAMPLES
 See the example on the
 .BR strtol (3)
 manual page;
index 933a7b96c00c6eef25104c22eb92ac3df017ab90..3cca201f6dbe9f3fb8c66914c1cda3db90fb1bd0 100644 (file)
@@ -213,7 +213,7 @@ function uses a static buffer while parsing, so it's not thread safe.
 Use
 .BR strtok_r ()
 if this matters to you.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below uses nested loops that employ
 .BR strtok_r ()
 to break a string into a two-level hierarchy of tokens.
index 02598b9832faaf6a6670e7cb586919ed6690883d..69a48c9389afd217401ad7eafd56b531e0d856ba 100644 (file)
@@ -213,7 +213,7 @@ may be equivalent to
 .BR strtoll ()
 or to
 .BR strtol ().
-.SH EXAMPLE
+.SH EXAMPLES
 The program shown below demonstrates the use of
 .BR strtol ().
 The first command-line argument specifies a string from which
index 353c7d920a2bdf57b75266be93cc0bde6ca321ba..a7089ca0b71bcc0f57732058693a208c09e8470b 100644 (file)
@@ -217,7 +217,7 @@ Negative values are considered valid input and are
 silently converted to the equivalent
 .I "unsigned long int"
 value.
-.SH EXAMPLE
+.SH EXAMPLES
 See the example on the
 .BR strtol (3)
 manual page;
index bdec23ce1f53351742274db5be6deea645e8caed..ac6aaf85eadef0773d237614e73d1912fe3dc1ed 100644 (file)
@@ -111,7 +111,7 @@ T}  Thread safety   MT-Safe
 .\" problem.
 .SH CONFORMING TO
 This function is a GNU extension.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below can be used to demonstrate the behavior of
 .BR strverscmp ().
 It uses
index ae05ee3dedfb3e80372df21e134d80277ea5b0c2..c73e4bb43344c352d09e37340a7835b81e75c386 100644 (file)
@@ -263,7 +263,7 @@ further reference to a node after calling the user function with
 argument "endorder" or "leaf".
 This works with the GNU library
 implementation, but is not in the System V documentation.
-.SH EXAMPLE
+.SH EXAMPLES
 The following program inserts twelve random numbers into a binary
 tree, where duplicate numbers are collapsed, then prints the numbers
 in order.
index f3f14baaca46985d7a945bd8a09c4fe096edb5d5..0dd03591cb8378f89ba4cdc31d9148bae8e867f5 100644 (file)
@@ -110,7 +110,7 @@ and
 .BR newlocale (3)
 to obtain a locale object equivalent to the current locale and
 modify the desired categories in that object.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR newlocale (3)
 and
index 1c8359515c9a53d5d0307e051cfd787852169b49..dfaaea5d95bca70ad386aeb0798b2c59486b4dd5 100644 (file)
@@ -95,7 +95,7 @@ The original
 .I wcs
 wide-character string is destructively modified during
 the operation.
-.SH EXAMPLE
+.SH EXAMPLES
 The following code loops over the tokens contained in a wide-character string.
 .PP
 .EX
index 60797cf5d9d358ca66084b2800325ccefcdb5bec..ffca58258e875a53159f9dc1504324ee013ef62a 100644 (file)
@@ -220,7 +220,7 @@ calls those functions,
 so we use race:utent to remind users.
 .SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008.
-.SH EXAMPLE
+.SH EXAMPLES
 The output of the following example program
 is approximately that of "ls [a-c]*.c".
 .PP
index d95c38e771d9b6cbace46d6d57ae7315d85ad7cb..610383891bc4c88baa83427f7b95f2bd7aabdf20 100644 (file)
@@ -246,7 +246,7 @@ If the device is in use, the call fails with the error
 .TP
 .IR /dev/loop*
 The loop block special device files.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below uses the
 .I /dev/loop-control
 device to find a free loop device, opens the loop device,
index bc481243d020f0820a3414010c087829e9338402..47e07fd0142770b7d416df3e84b3d5ca44ee64b7 100644 (file)
@@ -100,7 +100,7 @@ requests are supported.
 .\" Andries Brouwer <aeb@cwi.nl>
 .SH VERSIONS
 Introduced with version 1.1.92 of the Linux kernel.
-.SH EXAMPLE
+.SH EXAMPLES
 You may do a screendump on vt3 by switching to vt1 and typing
 .PP
 .in +4n
index 3718929f5b4ba458c8eba5c97fce6dec37535815..676cfef0fbc436eea331bf5cb45c3f383b136755 100644 (file)
@@ -103,7 +103,7 @@ The width definition section ends with the string
 Usual default character map path.
 .SH CONFORMING TO
 POSIX.2.
-.SH EXAMPLE
+.SH EXAMPLES
 The Euro sign is defined as follows in the
 .I UTF\-8
 charmap:
index 22ea85f392aa63eab560f0393177e94740fca1b1..e9b01fd03877087de506c3579c93e27b5483f8da 100644 (file)
@@ -591,7 +591,7 @@ where each thread of a process has a different PID.)
 .\" LinuxThreads continue appending the PID (the kernel has no easy
 .\" way of telling which threading implementation the user-space
 .\" application is using). -- mtk, April 2006
-.SH EXAMPLE
+.SH EXAMPLES
 The program below can be used to demonstrate the use of the
 pipe syntax in the
 .I /proc/sys/kernel/core_pattern
index 296be51cd54062a08b4f5a572a15583c76bc2435..ace018707283e46830b3be0b900be4a090d1bc3e 100644 (file)
@@ -76,7 +76,7 @@ The
 .I gai.conf
 .\" Added in 2006
 file is supported by glibc since version 2.5.
-.SH EXAMPLE
+.SH EXAMPLES
 The default table according to RFC\ 3484 would be specified with the
 following configuration file:
 .PP
index 53c3df8d43c6e5137ae9d3d62d2dbc90858ab82c..bafeeff70099397a345aaba940535f17ec77330a 100644 (file)
@@ -104,7 +104,7 @@ though looking around at the time of writing (circa 2000), there are
 historical hosts.txt files on the WWW.
 I just found three, from 92,
 94, and 95.
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 # The following lines are desirable for IPv4 capable hosts
 127.0.0.1       localhost
index 5356443aef7d8640124f030475e19906d38b4700..e432f8ca4c32942273798efd37e99f4f1405d4c2 100644 (file)
@@ -81,7 +81,7 @@ character which means "any host" only when the word
 is added to the auth component line in your PAM file for
 the particular service
 .RB "(e.g., " rlogin ).
-.SH EXAMPLE
+.SH EXAMPLES
 Below are some example
 .I /etc/host.equiv
 or
index b6ab83fb3bac897528ac52057dfc19f1b598e0f7..078c5d961c0e4f83b5418e7c064ddad787e6015f 100644 (file)
@@ -97,7 +97,7 @@ call might result in a network communication with the server to get
 the next entry.
 .SH FILES
 \fI/etc/default/nss\fR
-.SH EXAMPLE
+.SH EXAMPLES
 The default configuration corresponds to the following configuration file:
 .PP
 .in +4n
index a46a617e50c7844528f0bce2e8ebb1bea3f20cd6..c99fec060bb7e6a00f9051fee71480cec5368ba3 100644 (file)
@@ -65,7 +65,7 @@ Usual default repertoire map path.
 POSIX.2.
 .SH NOTES
 Repertoire maps are deprecated in favor of Unicode code points.
-.SH EXAMPLE
+.SH EXAMPLES
 A mnemonic for the Euro sign can be defined as follows:
 .PP
 .nf
index 3e2104c4a59204f40a7ded292b4f757ac9601553..cd2d48b79ea9a4fbe0f2f62025847c896a8e99ab 100644 (file)
@@ -42,7 +42,7 @@ FTP daemons traditionally
 disallow access to users with shells not included in this file.
 .SH FILES
 .I /etc/shells
-.SH EXAMPLE
+.SH EXAMPLES
 .I /etc/shells
 may contain the following paths:
 .PP
index 8506c87018397ec6866a314f6e3234653f677161..bdd9d8a309d3ff8cfd830884af9e709e9a13f4ae 100644 (file)
@@ -54,7 +54,7 @@ It is little used on modern workstation and personal UNIX systems.
 .TP
 .I /etc/ttytype
 the tty definitions file.
-.SH EXAMPLE
+.SH EXAMPLES
 A typical
 .I /etc/ttytype
 is:
index b5d14684a2f5f7b35944ef65b3ff6f34e6ec9256..f44ea7197f419f0dc081e316485fbdbe24b092d9 100644 (file)
@@ -193,7 +193,7 @@ reimplemented using the kernel system calls.
 .\" http://lse.sourceforge.net/io/aio.html
 .\" http://lse.sourceforge.net/io/aionotes.txt
 .\" http://lwn.net/Articles/148755/
-.SH EXAMPLE
+.SH EXAMPLES
 The program below opens each of the files named in its command-line
 arguments and queues a request on the resulting file descriptor using
 .BR aio_read (3).
index 964f0f3c3a04bbe591b7de35c6e903921d92762c..37b2397920ebcc8526f54b332be25f2ef467676a 100644 (file)
@@ -33,7 +33,7 @@ The basic operations are defined on z = a+b*i and w = c+d*i as:
 .PP
 Nearly all math function have a complex counterpart but there are
 some complex-only functions.
-.SH EXAMPLE
+.SH EXAMPLES
 Your C-compiler can work with complex numbers if it supports the C99 standard.
 Link with \fI\-lm\fP.
 The imaginary unit is represented by I.
index ac91a8017db3f745f8653a149fa895939354da5f..ac1f57a2d7b60f4dbec313d2323599d65ab4afa0 100644 (file)
@@ -1362,7 +1362,7 @@ and the creation and truncation options on
 .BR open (2)
 have no effect.
 .\" ================== EXAMPLE ==================
-.SH EXAMPLE
+.SH EXAMPLES
 The following examples demonstrate querying and setting cpuset
 options using shell commands.
 .SS Creating and attaching to a cpuset.
index ac6fbbcaefe5c2158bd9e37b7ac87072fc955497..065d121f81310e2e6e6051dd0ecf2144b804be39 100644 (file)
@@ -693,7 +693,7 @@ The return value will not be \-1, and
 .I errno
 will not be set.
 Thus, the reading application has no way to detect the error.
-.SH EXAMPLE
+.SH EXAMPLES
 The two example programs below demonstrate the usage of the fanotify API.
 .SS Example program: fanotify_example.c
 The first program is an example of fanotify being
index 83034c8891cc079e50a9b0500ac3e29bbed8099a..82e8abb5feed647ebf0ccad284a349c95955e740 100644 (file)
@@ -787,7 +787,7 @@ Programs should
 define these macros directly:
 instead, the appropriate feature test macro(s) from the
 list above should be employed.
-.SH EXAMPLE
+.SH EXAMPLES
 The program below can be used to explore how the various
 feature test macros are set depending on the glibc version
 and what feature test macros are explicitly set.
index 45a39b4957113597c51a986d07138f97c22c8696..1e60e45ad742ac1e054a67812771ece88b7c7cc3 100644 (file)
@@ -877,7 +877,7 @@ of the bug occurring in real-world applications,
 as of Linux 3.15,
 .\" FIXME . https://bugzilla.kernel.org/show_bug.cgi?id=77111
 no kernel changes have yet been made to eliminate this possible bug.
-.SH EXAMPLE
+.SH EXAMPLES
 The following program demonstrates the usage of the inotify API.
 It marks the directories passed as a command-line arguments
 and waits for events of type
index 04b270190455c6efbe683ee3f060efc103d8fde1..104ce560cab27d35254662521e34bea2bef1494e 100644 (file)
@@ -993,7 +993,7 @@ For some examples of what example programs should look like, see
 .BR wait (2)
 and
 .BR pipe (2).
-.SH EXAMPLE
+.SH EXAMPLES
 For canonical examples of how man pages in the
 .I man-pages
 package should look, see
index 42ad4e413c817cea99ffd39816cab3e16a526b9d..d1f85b5909ef3a96b12f5d8636455b0fa2081c11 100644 (file)
@@ -1116,7 +1116,7 @@ and creating bind mounts
 .RB ( MS_BIND ),
 see
 .IR Documentation/filesystems/sharedsubtree.txt .
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR pivot_root (2).
 .SH SEE ALSO
index 89c6ac6cd4849a7a14e5267ecf1afeef0e6f34a2..10667c3cabb77b504f1a7da761471db0a7c7049a 100644 (file)
@@ -390,7 +390,7 @@ This behavioral regression was rectified in Linux 4.2
 (and earlier stable kernel series),
 so that the count once more included just the bytes of user data
 in messages in the queue.
-.SH EXAMPLE
+.SH EXAMPLES
 An example of the use of various message queue functions is shown in
 .BR mq_notify (3).
 .SH SEE ALSO
index 6f816b5c63a3a9321402ed11bde0a458f97cb686..bb75250d96316cc2cbbf282dff3090f7f4dd14c7 100644 (file)
@@ -405,7 +405,7 @@ refers to this namespace.
 It is a PID namespace, and a corresponding mount of a
 .BR proc (5)
 filesystem refers to this namespace.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR clone (2)
 and
index 26019865785fe94ba0b1519a9d50442bc8ebed15..6b18c02654069d10afa189f46ce454eafcbde311 100644 (file)
@@ -486,7 +486,7 @@ or
 than via the low-level kernel interface.
 .SH BUGS
 This manual page is not complete.
-.SH EXAMPLE
+.SH EXAMPLES
 The following example creates a
 .B NETLINK_ROUTE
 netlink socket which will listen to the
index 18a1bcad0fa49d738d3a24a91c602e48a2fe6373..6d1097d967de1fd9fbfb8859c4ec86b74d17a94d 100644 (file)
@@ -62,7 +62,7 @@ devices that it contains are destroyed.
 Use of network namespaces requires a kernel that is configured with the
 .B CONFIG_NET_NS
 option.
-.\" FIXME .SH EXAMPLE
+.\" FIXME .SH EXAMPLES
 .SH SEE ALSO
 .BR nsenter (1),
 .BR unshare (1),
index 1cea76fc929c2ba63c249946c979cfda5f0a69a4..2d14cf1950fa5589450f1b0b0378dab851428ab3 100644 (file)
@@ -389,7 +389,7 @@ it is translated into the corresponding PID value in
 the receiving process's PID namespace.
 .SH CONFORMING TO
 Namespaces are a Linux-specific feature.
-.SH EXAMPLE
+.SH EXAMPLES
 See
 .BR user_namespaces (7).
 .SH SEE ALSO
index ffbc13e6aee0fae56aebb7b990e06307b784e26f..644def60bb782aae59daae8cc0566191cdeb7d17 100644 (file)
@@ -162,7 +162,7 @@ The Linux pkey system calls are available only if the kernel was
 configured and built with the
 .BR CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
 option.
-.SH EXAMPLE
+.SH EXAMPLES
 .PP
 The program below allocates a page of memory with read and write permissions.
 It then writes some data to the memory and successfully reads it
index eaa17a1532a11f799b790a8d0c1d5542fcb5b5e8..b9751551d2fe81f888e060e30f7611ebaade2102 100644 (file)
@@ -500,7 +500,7 @@ This is reportedly fixed in glibc 2.10.
 .\" My simple tests on Solaris work okay, but not on Linux -- mtk, Jan 2009
 .\" glibc bug filed: http://sourceware.org/bugzilla/show_bug.cgi?id=9733
 .\" Reportedly, this is fixed on 16 Mar 2009 (i.e., for glibc 2.10)
-.SH EXAMPLE
+.SH EXAMPLES
 .EX
 #include <link.h>
 #include <stdio.h>
index cdf7958c56714d6a8cf069005344db736f879cef..9362f06ece1d56bebfa98cbdc29e7342ea001a95 100644 (file)
@@ -144,7 +144,7 @@ POSIX semaphores provide a simpler, and better designed interface than
 System V semaphores;
 on the other hand POSIX semaphores are less widely available
 (especially on older systems) than System V semaphores.
-.SH EXAMPLE
+.SH EXAMPLES
 An example of the use of various POSIX semaphore functions is shown in
 .BR sem_wait (3).
 .SH SEE ALSO
index abd9542c294fcbbbc1e0d1d686001e57262c7e05..dc1f31d73e49757d4b4f35124ca5f3f23b7892d9 100644 (file)
@@ -637,7 +637,7 @@ and
 were introduced in Linux 3.6.
 .SH CONFORMING TO
 The NETLINK_SOCK_DIAG API is Linux-specific.
-.SH EXAMPLE
+.SH EXAMPLES
 The following example program prints inode number, peer's inode number,
 and name of all UNIX domain sockets in the current namespace.
 .PP
index 5b02c6ba96c816d937bcff78b0f23f47e2d326af..72398886d17c738f013f282452113db75d81cb35 100644 (file)
@@ -756,7 +756,7 @@ Any previous value of the object ID is overwritten.
 Reading this file gives an ASCII hex string representing the object ID
 for this SPU context.
 .RE
-.SH EXAMPLE
+.SH EXAMPLES
 .TP
 .IR /etc/fstab "  entry"
 none   /spu    spufs   gid=spu         0       0
index 5152d054f3fef83c8b28cae0f24fc693fff4b696..1a76bd204a1527970094dd6ad4ec113bf1b7a2ca 100644 (file)
@@ -211,7 +211,7 @@ For redability, the use of the symbolic names over the numbers is preferred.
 The motivation for adding time namespaces was to allow
 the monotonic and boot-time clocks to maintain consistent values
 during container migration and checkpoint/restore.
-.SH EXAMPLE
+.SH EXAMPLES
 .PP
 The following shell session demonstrates the operation of time namespaces.
 We begin by displaying the inode number of the time namespace
index 60d633c9cd542a58f086c489b7f981fbb54478b1..b9fdbdcdcf538d28efd0110a330672a50bab7e3d 100644 (file)
@@ -870,7 +870,7 @@ that the applications that
 .I create
 pathname sockets follow the rules outlined above under
 .IR "Pathname sockets" .
-.SH EXAMPLE
+.SH EXAMPLES
 The following code demonstrates the use of sequenced-packet
 sockets for local interprocess communication.
 It consists of two programs.
index 1975daf5e2afd075ed731e7e499063f2ef8e8334..9077498a2ce6c2d2f49cbfa5b30ac5f0b936a493 100644 (file)
@@ -981,7 +981,7 @@ Linux 3.12 added support for the last of the unsupported major filesystems,
 .\" commit d6970d4b726cea6d7a9bc4120814f95c09571fc3
 XFS.
 .\"
-.SH EXAMPLE
+.SH EXAMPLES
 The program below is designed to allow experimenting with
 user namespaces, as well as other types of namespaces.
 It creates namespaces as specified by command-line options and then executes