From dbfe9c700eadf351153aa1a164d189b4da9b1776 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 15 Aug 2017 19:26:11 +0200 Subject: [PATCH] _syscall.2, clock_getres.2, clone.2, copy_file_range.2, create_module.2, delete_module.2, fallocate.2, futex.2, get_kernel_syms.2, get_robust_list.2, getcpu.2, getdents.2, gettid.2, gettimeofday.2, getunwind.2, init_module.2, io_cancel.2, io_destroy.2, io_getevents.2, io_setup.2, io_submit.2, ioctl_userfaultfd.2, ioprio_set.2, kcmp.2, kexec_load.2, keyctl.2, link.2, llseek.2, memfd_create.2, mmap.2, mq_getsetattr.2, msgctl.2, msgget.2, open_by_handle_at.2, outb.2, perf_event_open.2, pivot_root.2, process_vm_readv.2, query_module.2, readdir.2, recvmmsg.2, rename.2, request_key.2, restart_syscall.2, rt_sigqueueinfo.2, s390_pci_mmio_write.2, s390_runtime_instr.2, sched_setattr.2, seccomp.2, select.2, select_tut.2, send.2, sendmmsg.2, set_thread_area.2, set_tid_address.2, sgetmask.2, shmop.2, sigaction.2, sigprocmask.2, splice.2, spu_create.2, spu_run.2, statx.2, subpage_prot.2, sync_file_range.2, syscall.2, sysctl.2, sysfs.2, tee.2, timer_create.2, timer_delete.2, timer_getoverrun.2, timer_settime.2, tkill.2, uselib.2, utimensat.2, vmsplice.2, wait.2, aio_init.3, asinh.3, atan2.3, atanh.3, backtrace.3, basename.3, bswap.3, bzero.3, catgets.3, catopen.3, dladdr.3, dlsym.3, endian.3, envz_add.3, erf.3, erfc.3, error.3, ferror.3, ffs.3, fgetc.3, fmemopen.3, fopen.3, fopencookie.3, fseek.3, ftw.3, futimes.3, getdate.3, getenv.3, getline.3, getlogin.3, getrpcent.3, getsubopt.3, getutmp.3, getw.3, gnu_get_libc_version.3, inet_net_pton.3, isalpha.3, lio_listio.3, makedev.3, malloc_get_state.3, malloc_stats.3, malloc_trim.3, malloc_usable_size.3, matherr.3, memchr.3, nextup.3, ntp_gettime.3, posix_madvise.3, program_invocation_name.3, pthread_atfork.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cleanup_push_defer_np.3, pthread_detach.3, pthread_equal.3, pthread_exit.3, pthread_join.3, pthread_kill.3, pthread_kill_other_threads_np.3, pthread_rwlockattr_setkind_np.3, pthread_self.3, pthread_setcancelstate.3, pthread_setconcurrency.3, pthread_setschedprio.3, pthread_testcancel.3, pthread_tryjoin_np.3, pthread_yield.3, puts.3, random.3, random_r.3, rpc.3, sched_getcpu.3, setnetgrent.3, sigwait.3, stdin.3, strerror.3, strfmon.3, timeradd.3, tmpnam.3, toupper.3, towlower.3, towupper.3, ttyname.3, uselocale.3, xdr.3, dsp56k.4, sigevent.7, vdso.7: ffix Signed-off-by: Michael Kerrisk --- man2/_syscall.2 | 4 ++-- man2/clock_getres.2 | 4 ++-- man2/clone.2 | 6 +++--- man2/copy_file_range.2 | 2 +- man2/create_module.2 | 2 +- man2/delete_module.2 | 2 +- man2/fallocate.2 | 2 +- man2/futex.2 | 2 +- man2/get_kernel_syms.2 | 2 +- man2/get_robust_list.2 | 2 +- man2/getcpu.2 | 2 +- man2/getdents.2 | 2 +- man2/gettid.2 | 2 +- man2/gettimeofday.2 | 6 +++--- man2/getunwind.2 | 2 +- man2/init_module.2 | 4 ++-- man2/io_cancel.2 | 4 ++-- man2/io_destroy.2 | 4 ++-- man2/io_getevents.2 | 4 ++-- man2/io_setup.2 | 4 ++-- man2/io_submit.2 | 4 ++-- man2/ioctl_userfaultfd.2 | 2 +- man2/ioprio_set.2 | 2 +- man2/kcmp.2 | 4 ++-- man2/kexec_load.2 | 6 +++--- man2/keyctl.2 | 2 +- man2/link.2 | 2 +- man2/llseek.2 | 2 +- man2/memfd_create.2 | 2 +- man2/mmap.2 | 2 +- man2/mq_getsetattr.2 | 2 +- man2/msgctl.2 | 2 +- man2/msgget.2 | 2 +- man2/open_by_handle_at.2 | 4 ++-- man2/outb.2 | 6 +++--- man2/perf_event_open.2 | 2 +- man2/pivot_root.2 | 2 +- man2/process_vm_readv.2 | 4 ++-- man2/query_module.2 | 2 +- man2/readdir.2 | 2 +- man2/recvmmsg.2 | 2 +- man2/rename.2 | 4 ++-- man2/request_key.2 | 2 +- man2/restart_syscall.2 | 2 +- man2/rt_sigqueueinfo.2 | 2 +- man2/s390_pci_mmio_write.2 | 2 +- man2/s390_runtime_instr.2 | 2 +- man2/sched_setattr.2 | 4 ++-- man2/seccomp.2 | 2 +- man2/select.2 | 6 +----- man2/select_tut.2 | 6 +----- man2/send.2 | 4 ++-- man2/sendmmsg.2 | 2 +- man2/set_thread_area.2 | 4 ++-- man2/set_tid_address.2 | 2 +- man2/sgetmask.2 | 2 +- man2/shmop.2 | 4 ++-- man2/sigaction.2 | 2 +- man2/sigprocmask.2 | 5 ++--- man2/splice.2 | 2 +- man2/spu_create.2 | 4 ++-- man2/spu_run.2 | 4 ++-- man2/statx.2 | 4 ++-- man2/subpage_prot.2 | 2 +- man2/sync_file_range.2 | 2 +- man2/syscall.2 | 2 +- man2/sysctl.2 | 2 +- man2/sysfs.2 | 4 ++-- man2/tee.2 | 2 +- man2/timer_create.2 | 4 ++-- man2/timer_delete.2 | 4 ++-- man2/timer_getoverrun.2 | 4 ++-- man2/timer_settime.2 | 4 ++-- man2/tkill.2 | 2 +- man2/uselib.2 | 2 +- man2/utimensat.2 | 2 +- man2/vmsplice.2 | 2 +- man2/wait.2 | 4 ++-- man3/aio_init.3 | 2 +- man3/asinh.3 | 2 +- man3/atan2.3 | 4 ++-- man3/atanh.3 | 2 +- man3/backtrace.3 | 6 +++--- man3/basename.3 | 2 +- man3/bswap.3 | 2 +- man3/bzero.3 | 2 +- man3/catgets.3 | 2 +- man3/catopen.3 | 2 +- man3/dladdr.3 | 6 +++--- man3/dlsym.3 | 2 +- man3/endian.3 | 6 +++--- man3/envz_add.3 | 12 ++++++------ man3/erf.3 | 4 ++-- man3/erfc.3 | 4 ++-- man3/error.3 | 10 +++++----- man3/ferror.3 | 6 +++--- man3/ffs.3 | 2 +- man3/fgetc.3 | 8 ++++---- man3/fmemopen.3 | 2 +- man3/fopen.3 | 4 ++-- man3/fopencookie.3 | 2 +- man3/fseek.3 | 8 ++++---- man3/ftw.3 | 2 +- man3/futimes.3 | 4 ++-- man3/getdate.3 | 2 +- man3/getenv.3 | 2 +- man3/getline.3 | 2 +- man3/getlogin.3 | 2 +- man3/getrpcent.3 | 10 +++++----- man3/getsubopt.3 | 2 +- man3/getutmp.3 | 2 +- man3/getw.3 | 2 +- man3/gnu_get_libc_version.3 | 2 +- man3/inet_net_pton.3 | 2 +- man3/isalpha.3 | 6 +++--- man3/lio_listio.3 | 4 ++-- man3/makedev.3 | 4 ++-- man3/malloc_get_state.3 | 2 +- man3/malloc_stats.3 | 2 +- man3/malloc_trim.3 | 2 +- man3/malloc_usable_size.3 | 2 +- man3/matherr.3 | 2 +- man3/memchr.3 | 6 +++--- man3/nextup.3 | 6 +++--- man3/ntp_gettime.3 | 4 ++-- man3/posix_madvise.3 | 4 ++-- man3/program_invocation_name.3 | 2 +- man3/pthread_atfork.3 | 2 +- man3/pthread_attr_setaffinity_np.3 | 2 +- man3/pthread_attr_setdetachstate.3 | 2 +- man3/pthread_attr_setguardsize.3 | 2 +- man3/pthread_attr_setinheritsched.3 | 2 +- man3/pthread_attr_setschedparam.3 | 2 +- man3/pthread_attr_setschedpolicy.3 | 2 +- man3/pthread_attr_setscope.3 | 2 +- man3/pthread_attr_setstack.3 | 2 +- man3/pthread_attr_setstackaddr.3 | 2 +- man3/pthread_attr_setstacksize.3 | 2 +- man3/pthread_cleanup_push_defer_np.3 | 2 +- man3/pthread_detach.3 | 2 +- man3/pthread_equal.3 | 2 +- man3/pthread_exit.3 | 2 +- man3/pthread_join.3 | 2 +- man3/pthread_kill.3 | 2 +- man3/pthread_kill_other_threads_np.3 | 2 +- man3/pthread_rwlockattr_setkind_np.3 | 2 +- man3/pthread_self.3 | 2 +- man3/pthread_setcancelstate.3 | 2 +- man3/pthread_setconcurrency.3 | 2 +- man3/pthread_setschedprio.3 | 2 +- man3/pthread_testcancel.3 | 2 +- man3/pthread_tryjoin_np.3 | 4 ++-- man3/pthread_yield.3 | 2 +- man3/puts.3 | 8 ++++---- man3/random.3 | 6 +++--- man3/random_r.3 | 6 +++--- man3/rpc.3 | 6 +++--- man3/sched_getcpu.3 | 2 +- man3/setnetgrent.3 | 10 +++++----- man3/sigwait.3 | 2 +- man3/stdin.3 | 2 +- man3/strerror.3 | 2 +- man3/strfmon.3 | 2 +- man3/timeradd.3 | 10 +++++----- man3/tmpnam.3 | 2 +- man3/toupper.3 | 2 +- man3/towlower.3 | 2 +- man3/towupper.3 | 2 +- man3/ttyname.3 | 2 +- man3/uselocale.3 | 2 +- man3/xdr.3 | 6 +++--- man4/dsp56k.4 | 2 +- man7/sigevent.7 | 4 ++-- man7/vdso.7 | 2 +- 174 files changed, 271 insertions(+), 280 deletions(-) diff --git a/man2/_syscall.2 b/man2/_syscall.2 index c29ca55db..542589dc9 100644 --- a/man2/_syscall.2 +++ b/man2/_syscall.2 @@ -40,9 +40,9 @@ _syscall \- invoking a system call without library support (OBSOLETE) .SH SYNOPSIS .B #include - +.PP A _syscall macro - +.PP desired system call .SH DESCRIPTION The important thing to know about a system call is its prototype. diff --git a/man2/clock_getres.2 b/man2/clock_getres.2 index 80779be91..836b21e31 100644 --- a/man2/clock_getres.2 +++ b/man2/clock_getres.2 @@ -34,9 +34,9 @@ clock_getres, clock_gettime, clock_settime \- clock and time functions .B #include .PP .BI "int clock_getres(clockid_t " clk_id ", struct timespec *" res ); - +.PP .BI "int clock_gettime(clockid_t " clk_id ", struct timespec *" tp ); - +.PP .BI "int clock_settime(clockid_t " clk_id ", const struct timespec *" tp ); .PP Link with \fI\-lrt\fP (only for glibc versions before 2.17). diff --git a/man2/clone.2 b/man2/clone.2 index 6f60a8053..2fec123ea 100644 --- a/man2/clone.2 +++ b/man2/clone.2 @@ -45,15 +45,15 @@ clone, __clone2 \- create a child process .SH SYNOPSIS .nf /* Prototype for the glibc wrapper function */ - +.PP .B #define _GNU_SOURCE .B #include - +.PP .BI "int clone(int (*" "fn" ")(void *), void *" child_stack , .BI " int " flags ", void *" "arg" ", ... " .BI " /* pid_t *" ptid ", void *" newtls \ ", pid_t *" ctid " */ );" - +.PP /* For the prototype of the raw system call, see NOTES */ .fi .SH DESCRIPTION diff --git a/man2/copy_file_range.2 b/man2/copy_file_range.2 index 1e8c1e85b..f3cbbe251 100644 --- a/man2/copy_file_range.2 +++ b/man2/copy_file_range.2 @@ -29,7 +29,7 @@ copy_file_range \- Copy a range of data from one file to another .nf .B #include .B #include - +.PP .BI "ssize_t copy_file_range(int " fd_in ", loff_t *" off_in , .BI " int " fd_out ", loff_t *" off_out , .BI " size_t " len ", unsigned int " flags ); diff --git a/man2/create_module.2 b/man2/create_module.2 index e372e7a72..8c3851b12 100644 --- a/man2/create_module.2 +++ b/man2/create_module.2 @@ -16,7 +16,7 @@ create_module \- create a loadable module entry .PP .BI "caddr_t create_module(const char *" name ", size_t " size ); .fi - +.PP .IR Note : No declaration of this system call is provided in glibc headers; see NOTES. .SH DESCRIPTION diff --git a/man2/delete_module.2 b/man2/delete_module.2 index 841c327c9..87855d22a 100644 --- a/man2/delete_module.2 +++ b/man2/delete_module.2 @@ -29,7 +29,7 @@ delete_module \- unload a kernel module .nf .BI "int delete_module(const char *" name ", int " flags ); .fi - +.PP .IR Note : No declaration of this system call is provided in glibc headers; see NOTES. .SH DESCRIPTION diff --git a/man2/fallocate.2 b/man2/fallocate.2 index a044702ed..38d0f7961 100644 --- a/man2/fallocate.2 +++ b/man2/fallocate.2 @@ -15,7 +15,7 @@ fallocate \- manipulate file space .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include - +.PP .BI "int fallocate(int " fd ", int " mode ", off_t " offset \ ", off_t " len "); .fi diff --git a/man2/futex.2 b/man2/futex.2 index 090cfb886..48586b3d5 100644 --- a/man2/futex.2 +++ b/man2/futex.2 @@ -33,7 +33,7 @@ futex \- fast user-space locking " \fR /* or: \fBuint32_t \fIval2\fP */ .BI " int *" uaddr2 ", int " val3 ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/get_kernel_syms.2 b/man2/get_kernel_syms.2 index 9b2f3f5a5..a7648b045 100644 --- a/man2/get_kernel_syms.2 +++ b/man2/get_kernel_syms.2 @@ -16,7 +16,7 @@ get_kernel_syms \- retrieve exported kernel and module symbols .PP .BI "int get_kernel_syms(struct kernel_sym *" table ); .fi - +.PP .IR Note : No declaration of this system call is provided in glibc headers; see NOTES. .SH DESCRIPTION diff --git a/man2/get_robust_list.2 b/man2/get_robust_list.2 index 48d2bbf93..43f3ee4eb 100644 --- a/man2/get_robust_list.2 +++ b/man2/get_robust_list.2 @@ -39,7 +39,7 @@ get_robust_list, set_robust_list \- get/set list of robust futexes .BI " size_t *" len_ptr ); .BI "long set_robust_list(struct robust_list_head *" head ", size_t " len ); .fi - +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/getcpu.2 b/man2/getcpu.2 index 5e1f0d297..eceb895d7 100644 --- a/man2/getcpu.2 +++ b/man2/getcpu.2 @@ -19,7 +19,7 @@ getcpu \- determine CPU and NUMA node on which the calling thread is running .BI "int getcpu(unsigned *" cpu ", unsigned *" node \ ", struct getcpu_cache *" tcache ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/getdents.2 b/man2/getdents.2 index 0b1ec5187..6c0956daa 100644 --- a/man2/getdents.2 +++ b/man2/getdents.2 @@ -38,7 +38,7 @@ getdents, getdents64 \- get directory entries .BI "int getdents64(unsigned int " fd ", struct linux_dirent64 *" dirp , .BI " unsigned int " count ); .fi - +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/gettid.2 b/man2/gettid.2 index 2b07e36ee..ae873ecd2 100644 --- a/man2/gettid.2 +++ b/man2/gettid.2 @@ -32,7 +32,7 @@ gettid \- get thread identification .PP .B pid_t gettid(void); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/gettimeofday.2 b/man2/gettimeofday.2 index 32151d800..48e3a1900 100644 --- a/man2/gettimeofday.2 +++ b/man2/gettimeofday.2 @@ -43,13 +43,13 @@ gettimeofday, settimeofday \- get / set time .SH SYNOPSIS .nf .B #include - +.PP .BI "int gettimeofday(struct timeval *" tv ", struct timezone *" tz ); - +.PP .BI "int settimeofday(const struct timeval *" tv \ ", const struct timezone *" tz ); - .fi +.PP .in -4n Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): diff --git a/man2/getunwind.2 b/man2/getunwind.2 index f704bd694..fda06f3f4 100644 --- a/man2/getunwind.2 +++ b/man2/getunwind.2 @@ -34,7 +34,7 @@ getunwind \- copy the unwind data to caller's buffer .PP .BI "long getunwind(void " *buf ", size_t " buf_size ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/init_module.2 b/man2/init_module.2 index 60b505646..17778725e 100644 --- a/man2/init_module.2 +++ b/man2/init_module.2 @@ -31,11 +31,11 @@ init_module, finit_module \- load a kernel module .nf .BI "int init_module(void *" module_image ", unsigned long " len , .BI " const char *" param_values ); - +.PP .BI "int finit_module(int " fd ", const char *" param_values , .BI " int " flags ); .fi - +.PP .IR Note : glibc provides no header file declaration of .BR init_module () diff --git a/man2/io_cancel.2 b/man2/io_cancel.2 index 63e490176..57ea86fea 100644 --- a/man2/io_cancel.2 +++ b/man2/io_cancel.2 @@ -10,11 +10,11 @@ io_cancel \- cancel an outstanding asynchronous I/O operation .SH SYNOPSIS .nf .BR "#include " " /* Defines needed types */" - +.PP .BI "int io_cancel(aio_context_t " ctx_id ", struct iocb *" iocb , .BI " struct io_event *" result ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/io_destroy.2 b/man2/io_destroy.2 index e4d78a532..b0f875a42 100644 --- a/man2/io_destroy.2 +++ b/man2/io_destroy.2 @@ -10,10 +10,10 @@ io_destroy \- destroy an asynchronous I/O context .SH SYNOPSIS .nf .BR "#include " " /* Defines needed types */" - +.PP .BI "int io_destroy(aio_context_t " ctx_id ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/io_getevents.2 b/man2/io_getevents.2 index ef43b7c6b..2993d2123 100644 --- a/man2/io_getevents.2 +++ b/man2/io_getevents.2 @@ -11,12 +11,12 @@ io_getevents \- read asynchronous I/O events from the completion queue .nf .BR "#include " " /* Defines needed types */" .BR "#include " " /* Defines 'struct timespec' */" - +.PP .BI "int io_getevents(aio_context_t " ctx_id ", long " min_nr ", long " nr , .BI " struct io_event *" events \ ", struct timespec *" timeout ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/io_setup.2 b/man2/io_setup.2 index 82c957afb..984fdc4d2 100644 --- a/man2/io_setup.2 +++ b/man2/io_setup.2 @@ -10,10 +10,10 @@ io_setup \- create an asynchronous I/O context .SH SYNOPSIS .nf .BR "#include " " /* Defines needed types */" - +.PP .BI "int io_setup(unsigned " nr_events ", aio_context_t *" ctx_idp ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/io_submit.2 b/man2/io_submit.2 index 6aae4efff..e17f7ffa5 100644 --- a/man2/io_submit.2 +++ b/man2/io_submit.2 @@ -10,11 +10,11 @@ io_submit \- submit asynchronous I/O blocks for processing .SH SYNOPSIS .nf .BR "#include " " /* Defines needed types */" - +.PP .BI "int io_submit(aio_context_t " ctx_id ", long " nr \ ", struct iocb **" iocbpp ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2 index 0a09c9454..715752dae 100644 --- a/man2/ioctl_userfaultfd.2 +++ b/man2/ioctl_userfaultfd.2 @@ -32,7 +32,7 @@ space .SH SYNOPSIS .nf .B #include - +.PP .BI "int ioctl(int " fd ", int " cmd ", ...);" .fi .SH DESCRIPTION diff --git a/man2/ioprio_set.2 b/man2/ioprio_set.2 index acb54a1c7..211f8f869 100644 --- a/man2/ioprio_set.2 +++ b/man2/ioprio_set.2 @@ -29,7 +29,7 @@ ioprio_get, ioprio_set \- get/set I/O scheduling class and priority .BI "int ioprio_get(int " which ", int " who ); .BI "int ioprio_set(int " which ", int " who ", int " ioprio ); .fi - +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/kcmp.2 b/man2/kcmp.2 index 1987e8dd1..db67b7427 100644 --- a/man2/kcmp.2 +++ b/man2/kcmp.2 @@ -31,11 +31,11 @@ kcmp \- compare two processes to determine if they share a kernel resource .SH SYNOPSIS .nf .B #include - +.PP .BI "int kcmp(pid_t " pid1 ", pid_t " pid2 ", int " type , .BI " unsigned long " idx1 ", unsigned long " idx2 ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/kexec_load.2 b/man2/kexec_load.2 index 2a0030803..198afba93 100644 --- a/man2/kexec_load.2 +++ b/man2/kexec_load.2 @@ -30,18 +30,18 @@ kexec_load, kexec_file_load \- load a new kernel for later execution .SH SYNOPSIS .nf .B #include - +.PP .BI "long kexec_load(unsigned long " entry ", unsigned long " nr_segments "," .BI " struct kexec_segment *" segments \ ", unsigned long " flags ");" - +.PP .BI "long kexec_file_load(int " kernel_fd ", int " initrd_fd "," .br .BI " unsigned long " cmdline_len \ ", const char *" cmdline "," .BI " unsigned long " flags ");" - .fi +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/keyctl.2 b/man2/keyctl.2 index 0df6bcf4b..f4d056f16 100644 --- a/man2/keyctl.2 +++ b/man2/keyctl.2 @@ -44,7 +44,7 @@ keyctl \- manipulate the kernel's key management facility .BI " __kernel_ulong_t " arg3 ", __kernel_ulong_t " arg4 , .BI " __kernel_ulong_t " arg5 ); .fi - +.PP No glibc wrapper is provided for this system call; see NOTES. .SH DESCRIPTION .BR keyctl () diff --git a/man2/link.2 b/man2/link.2 index 64a719e6c..5dde32413 100644 --- a/man2/link.2 +++ b/man2/link.2 @@ -37,7 +37,7 @@ link, linkat \- make a new name for a file .B #include .PP .BI "int link(const char *" oldpath ", const char *" newpath ); - +.PP .BR "#include " "/* Definition of AT_* constants */" .B #include .PP diff --git a/man2/llseek.2 b/man2/llseek.2 index a5e1c04e1..da18e85f0 100644 --- a/man2/llseek.2 +++ b/man2/llseek.2 @@ -37,7 +37,7 @@ _llseek \- reposition read/write file offset .BI " unsigned long " offset_low ", loff_t *" result , .BI " unsigned int " whence ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/memfd_create.2 b/man2/memfd_create.2 index 9e55b96b9..6fe3ac759 100644 --- a/man2/memfd_create.2 +++ b/man2/memfd_create.2 @@ -25,7 +25,7 @@ memfd_create \- create an anonymous file .B #include .PP .BI "int memfd_create(const char *" name ", unsigned int " flags ");" - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/mmap.2 b/man2/mmap.2 index 4468d351d..9ff2a5859 100644 --- a/man2/mmap.2 +++ b/man2/mmap.2 @@ -49,7 +49,7 @@ mmap, munmap \- map or unmap files or devices into memory .BI " int " fd ", off_t " offset ); .BI "int munmap(void *" addr ", size_t " length ); .fi - +.PP See NOTES for information on feature test macro requirements. .SH DESCRIPTION .BR mmap () diff --git a/man2/mq_getsetattr.2 b/man2/mq_getsetattr.2 index 1228ad824..e4676f6e6 100644 --- a/man2/mq_getsetattr.2 +++ b/man2/mq_getsetattr.2 @@ -34,7 +34,7 @@ mq_getsetattr \- get/set message queue attributes .BI "int mq_getsetattr(mqd_t " mqdes ", struct mq_attr *" newattr "," .BI " struct mq_attr *" oldattr ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/msgctl.2 b/man2/msgctl.2 index 54657baa4..0056fd158 100644 --- a/man2/msgctl.2 +++ b/man2/msgctl.2 @@ -42,7 +42,7 @@ msgctl \- System V message control operations .B #include .B #include .B #include - +.PP .BI "int msgctl(int " msqid ", int " cmd ", struct msqid_ds *" buf ); .fi .SH DESCRIPTION diff --git a/man2/msgget.2 b/man2/msgget.2 index af82424b1..edaed1457 100644 --- a/man2/msgget.2 +++ b/man2/msgget.2 @@ -40,7 +40,7 @@ msgget \- get a System V message queue identifier .B #include .B #include .B #include - +.PP .BI "int msgget(key_t " key ", int " msgflg ); .fi .SH DESCRIPTION diff --git a/man2/open_by_handle_at.2 b/man2/open_by_handle_at.2 index ad59dc9bd..3b326bba4 100644 --- a/man2/open_by_handle_at.2 +++ b/man2/open_by_handle_at.2 @@ -32,11 +32,11 @@ for a pathname and open file via a handle .B #include .B #include .B #include - +.PP .BI "int name_to_handle_at(int " dirfd ", const char *" pathname , .BI " struct file_handle *" handle , .BI " int *" mount_id ", int " flags ); - +.PP .BI "int open_by_handle_at(int " mount_fd ", struct file_handle *" handle , .BI " int " flags ); .fi diff --git a/man2/outb.2 b/man2/outb.2 index d1b0061ae..0bf1caa3e 100644 --- a/man2/outb.2 +++ b/man2/outb.2 @@ -31,21 +31,21 @@ outb_p, outw_p, outl_p, inb_p, inw_p, inl_p \- port I/O .SH SYNOPSIS .nf .B #include - +.PP .BI "unsigned char inb(unsigned short int " port ); .BI "unsigned char inb_p(unsigned short int " port ); .BI "unsigned short int inw(unsigned short int " port ); .BI "unsigned short int inw_p(unsigned short int " port ); .BI "unsigned int inl(unsigned short int " port ); .BI "unsigned int inl_p(unsigned short int " port ); - +.PP .BI "void outb(unsigned char " value ", unsigned short int " port ); .BI "void outb_p(unsigned char " value ", unsigned short int " port ); .BI "void outw(unsigned short int " value ", unsigned short int " port ); .BI "void outw_p(unsigned short int " value ", unsigned short int " port ); .BI "void outl(unsigned int " value ", unsigned short int " port ); .BI "void outl_p(unsigned int " value ", unsigned short int " port ); - +.PP .BI "void insb(unsigned short int " port ", void *" addr , .BI " unsigned long int " count ); .BI "void insw(unsigned short int " port ", void *" addr , diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index 5b48a6259..16b412007 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -36,7 +36,7 @@ perf_event_open \- set up performance monitoring .BI " pid_t " pid ", int " cpu ", int " group_fd , .BI " unsigned long " flags ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/pivot_root.2 b/man2/pivot_root.2 index b0497280f..0e18142c1 100644 --- a/man2/pivot_root.2 +++ b/man2/pivot_root.2 @@ -12,7 +12,7 @@ pivot_root \- change the root filesystem .SH SYNOPSIS .BI "int pivot_root(const char *" new_root ", const char *" put_old ); - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/process_vm_readv.2 b/man2/process_vm_readv.2 index 19a5967f3..b0dec11b2 100644 --- a/man2/process_vm_readv.2 +++ b/man2/process_vm_readv.2 @@ -32,14 +32,14 @@ process_vm_readv, process_vm_writev \- transfer data between process address spa .SH SYNOPSIS .nf .B #include - +.PP .BI "ssize_t process_vm_readv(pid_t " pid , .BI " const struct iovec *" local_iov , .BI " unsigned long " liovcnt , .BI " const struct iovec *" remote_iov , .BI " unsigned long " riovcnt , .BI " unsigned long " flags ");" - +.PP .BI "ssize_t process_vm_writev(pid_t " pid , .BI " const struct iovec *" local_iov , .BI " unsigned long " liovcnt , diff --git a/man2/query_module.2 b/man2/query_module.2 index 4866de189..3416d7e91 100644 --- a/man2/query_module.2 +++ b/man2/query_module.2 @@ -17,7 +17,7 @@ query_module \- query the kernel for various bits pertaining to modules .BI "int query_module(const char *" name ", int " which ", void *" buf , .BI " size_t " bufsize ", size_t *" ret ); .fi - +.PP .IR Note : No declaration of this system call is provided in glibc headers; see NOTES. .SH DESCRIPTION diff --git a/man2/readdir.2 b/man2/readdir.2 index 82d778189..4665f3d75 100644 --- a/man2/readdir.2 +++ b/man2/readdir.2 @@ -36,7 +36,7 @@ readdir \- read directory entry .BI "int readdir(unsigned int " fd ", struct old_linux_dirent *" dirp "," .BI " unsigned int " count ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/recvmmsg.2 b/man2/recvmmsg.2 index 2dc831869..e1b7750d2 100644 --- a/man2/recvmmsg.2 +++ b/man2/recvmmsg.2 @@ -35,7 +35,7 @@ recvmmsg \- receive multiple messages on a socket .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .BI "#include " - +.PP .BI "int recvmmsg(int " sockfd ", struct mmsghdr *" msgvec \ ", unsigned int " vlen "," .br diff --git a/man2/rename.2 b/man2/rename.2 index 8b2db438a..1882b5720 100644 --- a/man2/rename.2 +++ b/man2/rename.2 @@ -44,12 +44,12 @@ rename, renameat, renameat2 \- change the name or location of a file .PP .BI "int renameat(int " olddirfd ", const char *" oldpath , .BI " int " newdirfd ", const char *" newpath ); - +.PP .BI "int renameat2(int " olddirfd ", const char *" oldpath , .BI " int " newdirfd ", const char *" newpath \ ", unsigned int " flags ); .fi - +.PP .IR Note : There is no glibc wrapper for .BR renameat2 (); diff --git a/man2/request_key.2 b/man2/request_key.2 index c8f0ee530..fde40b597 100644 --- a/man2/request_key.2 +++ b/man2/request_key.2 @@ -21,7 +21,7 @@ request_key \- request a key from the kernel's key management facility .BI " const char *" callout_info , .BI " key_serial_t " dest_keyring ");" .fi - +.PP No glibc wrapper is provided for this system call; see NOTES. .SH DESCRIPTION .BR request_key () diff --git a/man2/restart_syscall.2 b/man2/restart_syscall.2 index f398f4161..04da60ee1 100644 --- a/man2/restart_syscall.2 +++ b/man2/restart_syscall.2 @@ -35,7 +35,7 @@ restart_syscall \- restart a system call after interruption by a stop signal .SH SYNOPSIS .B int restart_syscall(void); - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/rt_sigqueueinfo.2 b/man2/rt_sigqueueinfo.2 index ca0ddab40..a7bd7d30b 100644 --- a/man2/rt_sigqueueinfo.2 +++ b/man2/rt_sigqueueinfo.2 @@ -32,7 +32,7 @@ rt_sigqueueinfo, rt_tgsigqueueinfo \- queue a signal and data .BI "int rt_tgsigqueueinfo(pid_t " tgid ", pid_t " tid ", int " sig , .BI " siginfo_t *" uinfo ); .fi - +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/s390_pci_mmio_write.2 b/man2/s390_pci_mmio_write.2 index d82a4e5f9..93e98be81 100644 --- a/man2/s390_pci_mmio_write.2 +++ b/man2/s390_pci_mmio_write.2 @@ -29,7 +29,7 @@ MMIO memory page .SH SYNOPSIS .nf .B #include - +.PP .BI "int s390_pci_mmio_write(unsigned long " mmio_addr ", .BI " void *" user_buffer ", size_t " length "); .br diff --git a/man2/s390_runtime_instr.2 b/man2/s390_runtime_instr.2 index 036e808b5..2ef271d68 100644 --- a/man2/s390_runtime_instr.2 +++ b/man2/s390_runtime_instr.2 @@ -28,7 +28,7 @@ s390_runtime_instr \- enable/disable s390 CPU run-time instrumentation .SH SYNOPSIS .nf .B #include - +.PP .BI "int s390_runtime_instr(int " command ", int " signum "); .fi .SH DESCRIPTION diff --git a/man2/sched_setattr.2 b/man2/sched_setattr.2 index 1aaa10929..ea08ab08a 100644 --- a/man2/sched_setattr.2 +++ b/man2/sched_setattr.2 @@ -30,10 +30,10 @@ set and get scheduling policy and attributes .SH SYNOPSIS .nf .B #include - +.PP .BI "int sched_setattr(pid_t " pid ", struct sched_attr *" attr , .BI " unsigned int " flags ); - +.PP .BI "int sched_getattr(pid_t " pid ", struct sched_attr *" attr , .BI " unsigned int " size ", unsigned int " flags ); .fi diff --git a/man2/seccomp.2 b/man2/seccomp.2 index b11ccc19a..df373b4c2 100644 --- a/man2/seccomp.2 +++ b/man2/seccomp.2 @@ -36,7 +36,7 @@ seccomp \- operate on Secure Computing state of the process .B #include .\" Kees Cook noted: Anything that uses SECCOMP_RET_TRACE returns will .\" need - +.PP .BI "int seccomp(unsigned int " operation ", unsigned int " flags \ ", void *" args ); .fi diff --git a/man2/select.2 b/man2/select.2 index 8b1d43050..4c4cc9e68 100644 --- a/man2/select.2 +++ b/man2/select.2 @@ -42,15 +42,11 @@ synchronous I/O multiplexing .SH SYNOPSIS .nf /* According to POSIX.1-2001, POSIX.1-2008 */ -.br .B #include - +.PP /* According to earlier standards */ -.br .B #include -.br .B #include -.br .B #include .PP .BI "int select(int " nfds ", fd_set *" readfds ", fd_set *" writefds , diff --git a/man2/select_tut.2 b/man2/select_tut.2 index 7d710c76d..967fd9b5d 100644 --- a/man2/select_tut.2 +++ b/man2/select_tut.2 @@ -36,15 +36,11 @@ synchronous I/O multiplexing .SH SYNOPSIS .nf /* According to POSIX.1-2001, POSIX.1-2008 */ -.br .B #include - +.PP /* According to earlier standards */ -.br .B #include -.br .B #include -.br .B #include .PP .BI "int select(int " nfds ", fd_set *" readfds ", fd_set *" writefds , diff --git a/man2/send.2 b/man2/send.2 index 973236b65..70d07cff7 100644 --- a/man2/send.2 +++ b/man2/send.2 @@ -47,11 +47,11 @@ send, sendto, sendmsg \- send a message on a socket .PP .BI "ssize_t send(int " sockfd ", const void *" buf ", size_t " len \ ", int " flags ); - +.PP .BI "ssize_t sendto(int " sockfd ", const void *" buf ", size_t " len \ ", int " flags , .BI " const struct sockaddr *" dest_addr ", socklen_t " addrlen ); - +.PP .BI "ssize_t sendmsg(int " sockfd ", const struct msghdr *" msg \ ", int " flags ); .fi diff --git a/man2/sendmmsg.2 b/man2/sendmmsg.2 index 6173280ff..056c74771 100644 --- a/man2/sendmmsg.2 +++ b/man2/sendmmsg.2 @@ -32,7 +32,7 @@ sendmmsg \- send multiple messages on a socket .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .BI "#include " - +.PP .BI "int sendmmsg(int " sockfd ", struct mmsghdr *" msgvec \ ", unsigned int " vlen "," .BI " unsigned int " flags ");" diff --git a/man2/set_thread_area.2 b/man2/set_thread_area.2 index d09132156..82861c4db 100644 --- a/man2/set_thread_area.2 +++ b/man2/set_thread_area.2 @@ -13,11 +13,11 @@ get_thread_area, set_thread_area \- set a GDT entry for thread-local storage .nf .B #include .B #include - +.PP .BI "int get_thread_area(struct user_desc *" u_info ); .BI "int set_thread_area(struct user_desc *" u_info ); .fi - +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/set_tid_address.2 b/man2/set_tid_address.2 index f6f75a51f..d05608dee 100644 --- a/man2/set_tid_address.2 +++ b/man2/set_tid_address.2 @@ -31,7 +31,7 @@ set_tid_address \- set pointer to thread ID .PP .BI "long set_tid_address(int *" tidptr ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/sgetmask.2 b/man2/sgetmask.2 index 305f6cd13..e8789a882 100644 --- a/man2/sgetmask.2 +++ b/man2/sgetmask.2 @@ -30,7 +30,7 @@ sgetmask, ssetmask \- manipulation of signal mask (obsolete) .B "long sgetmask(void);" .PP .BI "long ssetmask(long " newmask ); - +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/shmop.2 b/man2/shmop.2 index c1a243ec7..94d97df8a 100644 --- a/man2/shmop.2 +++ b/man2/shmop.2 @@ -45,9 +45,9 @@ shmat, shmdt \- System V shared memory operations .nf .B #include .B #include - +.PP .BI "void *shmat(int " shmid ", const void *" shmaddr ", int " shmflg ); - +.PP .BI "int shmdt(const void *" shmaddr ); .fi .SH DESCRIPTION diff --git a/man2/sigaction.2 b/man2/sigaction.2 index aed775749..278c67fbd 100644 --- a/man2/sigaction.2 +++ b/man2/sigaction.2 @@ -65,7 +65,7 @@ Feature Test Macro Requirements for glibc (see .ad l .BR sigaction (): _POSIX_C_SOURCE - +.PP .IR siginfo_t : _POSIX_C_SOURCE >= 199309L .ad b diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2 index 493ab1a99..66e14cf95 100644 --- a/man2/sigprocmask.2 +++ b/man2/sigprocmask.2 @@ -35,16 +35,15 @@ sigprocmask, rt_sigprocmask \- examine and change blocked signals .nf /* Prototype for the glibc wrapper function */ .BI "int sigprocmask(int " how ", const sigset_t *" set ", sigset_t *" oldset ); - +.PP /* Prototype for the underlying system call */ .BI "int rt_sigprocmask(int " how ", const kernel_sigset_t *" set , .BI " kernel_sigset_t *" oldset ", size_t " sigsetsize ); - +.PP /* Prototype for the legacy system call (deprecated) */ .BI "int sigprocmask(int " how ", const old_kernel_sigset_t *" set , .BI " old_kernel_sigset_t *" oldset ); " .fi - .PP .in -4n Feature Test Macro Requirements for glibc (see diff --git a/man2/splice.2 b/man2/splice.2 index 8b58bed36..cc565d916 100644 --- a/man2/splice.2 +++ b/man2/splice.2 @@ -30,7 +30,7 @@ splice \- splice data to/from a pipe .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include - +.PP .BI "ssize_t splice(int " fd_in ", loff_t *" off_in ", int " fd_out , .BI " loff_t *" off_out ", size_t " len \ ", unsigned int " flags ); diff --git a/man2/spu_create.2 b/man2/spu_create.2 index e48c71a16..d5401fa95 100644 --- a/man2/spu_create.2 +++ b/man2/spu_create.2 @@ -29,12 +29,12 @@ spu_create \- create a new spu context .nf .B #include .B #include - +.PP .BI "int spu_create(const char *" pathname ", int " flags ", mode_t " mode ");" .BI "int spu_create(const char *" pathname ", int " flags ", mode_t " mode "," .BI " int " neighbor_fd ");" .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/spu_run.2 b/man2/spu_run.2 index 60ff63606..027c00e9d 100644 --- a/man2/spu_run.2 +++ b/man2/spu_run.2 @@ -29,11 +29,11 @@ spu_run \- execute an SPU context .SH SYNOPSIS .nf .B #include - +.PP .BI "int spu_run(int " fd ", unsigned int *" npc \ ", unsigned int *" event ");" .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/statx.2 b/man2/statx.2 index a69096dd7..8b9453d60 100644 --- a/man2/statx.2 +++ b/man2/statx.2 @@ -37,11 +37,11 @@ statx \- get file status (extended) .B #include .B #include .BR "#include " "/* Definition of AT_* constants */" - +.PP .BI "int statx(int " dirfd ", const char *" pathname ", int " flags "," .BI " unsigned int " mask ", struct statx *" statxbuf ); .fi - +.PP .IR Note : There is no glibc wrapper for .BR statx (); diff --git a/man2/subpage_prot.2 b/man2/subpage_prot.2 index 69c32f18d..0499b9dd9 100644 --- a/man2/subpage_prot.2 +++ b/man2/subpage_prot.2 @@ -35,7 +35,7 @@ subpage_prot \- define a subpage protection for an address range .BI "long subpage_prot(unsigned long " addr ", unsigned long " len , .BI " uint32_t *" map "); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/sync_file_range.2 b/man2/sync_file_range.2 index e2c408d2a..1e24d3b1a 100644 --- a/man2/sync_file_range.2 +++ b/man2/sync_file_range.2 @@ -34,7 +34,7 @@ sync_file_range \- sync a file segment with disk .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include - +.PP .BI "int sync_file_range(int " fd ", off64_t " offset ", off64_t " nbytes , .BI " unsigned int " flags ); .fi diff --git a/man2/syscall.2 b/man2/syscall.2 index 605c3d572..5dffc1fdf 100644 --- a/man2/syscall.2 +++ b/man2/syscall.2 @@ -47,7 +47,7 @@ syscall \- indirect system call .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include .BR "#include " "/* For SYS_xxx definitions */" - +.PP .BI "long syscall(long " number ", ...);" .fi .SH DESCRIPTION diff --git a/man2/sysctl.2 b/man2/sysctl.2 index 03b1f01a5..4c4d916ad 100644 --- a/man2/sysctl.2 +++ b/man2/sysctl.2 @@ -38,7 +38,7 @@ sysctl \- read/write system parameters .PP .BI "int _sysctl(struct __sysctl_args *" args ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/sysfs.2 b/man2/sysfs.2 index b184032e5..73e01d2a4 100644 --- a/man2/sysfs.2 +++ b/man2/sysfs.2 @@ -29,9 +29,9 @@ sysfs \- get filesystem type information .SH SYNOPSIS .BI "int sysfs(int " option ", const char *" fsname ); - +.PP .BI "int sysfs(int " option ", unsigned int " fs_index ", char *" buf ); - +.PP .BI "int sysfs(int " option ); .SH DESCRIPTION .BR sysfs () diff --git a/man2/tee.2 b/man2/tee.2 index 43e8b0575..7fe173b17 100644 --- a/man2/tee.2 +++ b/man2/tee.2 @@ -30,7 +30,7 @@ tee \- duplicating pipe content .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include - +.PP .BI "ssize_t tee(int " fd_in ", int " fd_out ", size_t " len \ ", unsigned int " flags ); .fi diff --git a/man2/timer_create.2 b/man2/timer_create.2 index 3eb30efb0..a75208607 100644 --- a/man2/timer_create.2 +++ b/man2/timer_create.2 @@ -30,11 +30,11 @@ timer_create \- create a POSIX per-process timer .nf .B #include .B #include - +.PP .BI "int timer_create(clockid_t " clockid ", struct sigevent *" sevp , .BI " timer_t *" timerid ); .fi - +.PP Link with \fI\-lrt\fP. .PP .in -4n diff --git a/man2/timer_delete.2 b/man2/timer_delete.2 index aea66db7b..9d37f358e 100644 --- a/man2/timer_delete.2 +++ b/man2/timer_delete.2 @@ -29,10 +29,10 @@ timer_delete \- delete a POSIX per-process timer .SH SYNOPSIS .nf .B #include - +.PP .BI "int timer_delete(timer_t " timerid ); .fi - +.PP Link with \fI\-lrt\fP. .PP .in -4n diff --git a/man2/timer_getoverrun.2 b/man2/timer_getoverrun.2 index fdd3a6019..c274805e4 100644 --- a/man2/timer_getoverrun.2 +++ b/man2/timer_getoverrun.2 @@ -29,10 +29,10 @@ timer_getoverrun \- get overrun count for a POSIX per-process timer .SH SYNOPSIS .nf .B #include - +.PP .BI "int timer_getoverrun(timer_t " timerid ); .fi - +.PP Link with \fI\-lrt\fP. .PP .in -4n diff --git a/man2/timer_settime.2 b/man2/timer_settime.2 index e5e179446..982ce28e8 100644 --- a/man2/timer_settime.2 +++ b/man2/timer_settime.2 @@ -30,13 +30,13 @@ state of POSIX per-process timer .SH SYNOPSIS .nf .B #include - +.PP .BI "int timer_settime(timer_t " timerid ", int " flags , .BI " const struct itimerspec *" new_value , .BI " struct itimerspec *" old_value ); .BI "int timer_gettime(timer_t " timerid ", struct itimerspec *" curr_value ); .fi - +.PP Link with \fI\-lrt\fP. .PP .in -4n diff --git a/man2/tkill.2 b/man2/tkill.2 index f68cba327..7c80d6438 100644 --- a/man2/tkill.2 +++ b/man2/tkill.2 @@ -35,7 +35,7 @@ tkill, tgkill \- send a signal to a thread .PP .BI "int tgkill(int " tgid ", int " tid ", int " sig ); .fi - +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/uselib.2 b/man2/uselib.2 index 5321a263e..c38fa225b 100644 --- a/man2/uselib.2 +++ b/man2/uselib.2 @@ -35,7 +35,7 @@ uselib \- load shared library .B #include .PP .BI "int uselib(const char *" library ); - +.PP .IR Note : No declaration of this system call is provided in glibc headers; see NOTES. .SH DESCRIPTION diff --git a/man2/utimensat.2 b/man2/utimensat.2 index 4ef4d4fa0..7c3c29e1e 100644 --- a/man2/utimensat.2 +++ b/man2/utimensat.2 @@ -33,7 +33,7 @@ utimensat, futimens \- change file timestamps with nanosecond precision .PP .BI "int utimensat(int " dirfd ", const char *" pathname , .BI " const struct timespec " times "[2], int " flags ); - +.PP .BI "int futimens(int " fd ", const struct timespec " times [2]); .fi .PP diff --git a/man2/vmsplice.2 b/man2/vmsplice.2 index 145695662..ced462663 100644 --- a/man2/vmsplice.2 +++ b/man2/vmsplice.2 @@ -31,7 +31,7 @@ vmsplice \- splice user pages into a pipe .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include .B #include - +.PP .BI "ssize_t vmsplice(int " fd ", const struct iovec *" iov , .BI " unsigned long " nr_segs ", unsigned int " flags ); .fi diff --git a/man2/wait.2 b/man2/wait.2 index a1ee8872b..b86bcc95a 100644 --- a/man2/wait.2 +++ b/man2/wait.2 @@ -55,9 +55,9 @@ wait, waitpid, waitid \- wait for process to change state .B #include .PP .BI "pid_t wait(int *" "wstatus" ); - +.PP .BI "pid_t waitpid(pid_t " pid ", int *" wstatus ", int " options ); - +.PP .BI "int waitid(idtype_t " idtype ", id_t " id \ ", siginfo_t *" infop ", int " options ); /* This is the glibc and POSIX interface; see diff --git a/man3/aio_init.3 b/man3/aio_init.3 index 8e693bbd9..2e6518ed5 100644 --- a/man3/aio_init.3 +++ b/man3/aio_init.3 @@ -30,7 +30,7 @@ aio_init \- asynchronous I/O initialization .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B "#include " - +.PP .BI "void aio_init(const struct aioinit *" init ); .fi .PP diff --git a/man3/asinh.3 b/man3/asinh.3 index 1ff0c20bc..601ca953b 100644 --- a/man3/asinh.3 +++ b/man3/asinh.3 @@ -62,7 +62,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE - +.PP .BR asinhf (), .BR asinhl (): .RS 4 diff --git a/man3/atan2.3 b/man3/atan2.3 index 06a037693..ebda95789 100644 --- a/man3/atan2.3 +++ b/man3/atan2.3 @@ -38,12 +38,12 @@ atan2, atan2f, atan2l \- arc tangent function of two variables .SH SYNOPSIS .nf .B #include - +.PP .BI "double atan2(double " y ", double " x ); .BI "float atan2f(float " y ", float " x ); .BI "long double atan2l(long double " y ", long double " x ); - .fi +.PP Link with \fI\-lm\fP. .PP .in -4n diff --git a/man3/atanh.3 b/man3/atanh.3 index daf038bc3..92085f5b2 100644 --- a/man3/atanh.3 +++ b/man3/atanh.3 @@ -62,7 +62,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE .RE - +.PP .BR atanhf (), .BR atanhl (): .RS 4 diff --git a/man3/backtrace.3 b/man3/backtrace.3 index 9668f3a40..7cc8764ac 100644 --- a/man3/backtrace.3 +++ b/man3/backtrace.3 @@ -30,17 +30,17 @@ backtrace, backtrace_symbols, backtrace_symbols_fd \- support for application self-debugging .SH SYNOPSIS .B #include - +.PP .B int backtrace(void .BI ** buffer , .B int .IB size ); - +.PP .B char **backtrace_symbols(void *const .BI * buffer , .B int .IB size ); - +.PP .B void backtrace_symbols_fd(void *const .BI * buffer , .B int diff --git a/man3/basename.3 b/man3/basename.3 index 352530f8f..a90d420a5 100644 --- a/man3/basename.3 +++ b/man3/basename.3 @@ -32,7 +32,7 @@ basename, dirname \- parse pathname components .B #include .PP .BI "char *dirname(char *" path ); - +.PP .BI "char *basename(char *" path ); .fi .SH DESCRIPTION diff --git a/man3/bswap.3 b/man3/bswap.3 index f01b28fa5..5d75295c0 100644 --- a/man3/bswap.3 +++ b/man3/bswap.3 @@ -28,7 +28,7 @@ bswap_16, bswap_32, bswap_64 \- reverse order of bytes .SH SYNOPSIS .nf .B #include - +.PP .BI bswap_16( x ); .BI bswap_32( x ); .BI bswap_64( x ); diff --git a/man3/bzero.3 b/man3/bzero.3 index 0247c44c7..b176b3651 100644 --- a/man3/bzero.3 +++ b/man3/bzero.3 @@ -30,7 +30,7 @@ bzero, explicit_bzero \- zero a byte string .B #include .PP .BI "void bzero(void *" s ", size_t " n ); - +.PP .B #include .PP .BI "void explicit_bzero(void *" s ", size_t " n ); diff --git a/man3/catgets.3 b/man3/catgets.3 index 554f9995f..7d1906546 100644 --- a/man3/catgets.3 +++ b/man3/catgets.3 @@ -29,7 +29,7 @@ catgets \- get message from a message catalog .SH SYNOPSIS .nf .B #include - +.PP .BI "char *catgets(nl_catd " catalog ", int " set_number \ ", int " message_number , .BI " const char *" message ); diff --git a/man3/catopen.3 b/man3/catopen.3 index f4cef6c2b..0019b6fc4 100644 --- a/man3/catopen.3 +++ b/man3/catopen.3 @@ -32,7 +32,7 @@ catopen, catclose \- open/close a message catalog .B #include .PP .BI "nl_catd catopen(const char *" name ", int " flag ); - +.PP .BI "int catclose(nl_catd " catalog ); .SH DESCRIPTION The function diff --git a/man3/dladdr.3 b/man3/dladdr.3 index 067dbcdfc..237fb64c1 100644 --- a/man3/dladdr.3 +++ b/man3/dladdr.3 @@ -31,12 +31,12 @@ dladdr, dladdr1 \- translate address to symbolic information .nf .B #define _GNU_SOURCE .B #include - +.PP .BI "int dladdr(void *" addr ", Dl_info *" info ); - +.PP .BI "int dladdr1(void *" addr ", Dl_info *" info ", void **" \ extra_info ", int " flags ); - +.PP Link with \fI\-ldl\fP. .fi .SH DESCRIPTION diff --git a/man3/dlsym.3 b/man3/dlsym.3 index 215f10816..cd673f313 100644 --- a/man3/dlsym.3 +++ b/man3/dlsym.3 @@ -29,7 +29,7 @@ dlsym, dlvsym \- obtain address of a symbol in a shared object or executable .B #include .PP .BI "void *dlsym(void *" handle ", const char *" symbol ); - +.PP .B #define _GNU_SOURCE .br .B #include diff --git a/man3/endian.3 b/man3/endian.3 index a82b56412..5e6a944d0 100644 --- a/man3/endian.3 +++ b/man3/endian.3 @@ -33,17 +33,17 @@ convert values between host and big-/little-endian byte order .SH SYNOPSIS .nf .B #include - +.PP .BI "uint16_t htobe16(uint16_t " host_16bits ); .BI "uint16_t htole16(uint16_t " host_16bits ); .BI "uint16_t be16toh(uint16_t " big_endian_16bits ); .BI "uint16_t le16toh(uint16_t " little_endian_16bits ); - +.PP .BI "uint32_t htobe32(uint32_t " host_32bits ); .BI "uint32_t htole32(uint32_t " host_32bits ); .BI "uint32_t be32toh(uint32_t " big_endian_32bits ); .BI "uint32_t le32toh(uint32_t " little_endian_32bits ); - +.PP .BI "uint64_t htobe64(uint64_t " host_64bits ); .BI "uint64_t htole64(uint64_t " host_64bits ); .BI "uint64_t be64toh(uint64_t " big_endian_64bits ); diff --git a/man3/envz_add.3 b/man3/envz_add.3 index 4cdb335bb..dba21d940 100644 --- a/man3/envz_add.3 +++ b/man3/envz_add.3 @@ -14,23 +14,23 @@ envz_remove, envz_strip \- environment string support .SH SYNOPSIS .nf .B "#include " - +.PP .BI "error_t envz_add(char **" envz ", size_t *" envz_len , .BI " const char *" name ", const char *" value ); - +.PP .BI "char *envz_entry(const char *" envz ", size_t " envz_len \ ", const char *" name ); - +.PP .BI "char *envz_get(const char *" envz ", size_t " envz_len \ ", const char *" name ); - +.PP .BI "error_t envz_merge(char **" envz ", size_t *" envz_len , .BI " const char *" envz2 ", size_t " envz2_len \ ", int " override ); - +.PP .BI "void envz_remove(char **" envz ", size_t *" envz_len \ ", const char *" name ); - +.PP .BI "void envz_strip(char **" envz ", size_t *" envz_len ); .fi .SH DESCRIPTION diff --git a/man3/erf.3 b/man3/erf.3 index f83b77173..544eb2a28 100644 --- a/man3/erf.3 +++ b/man3/erf.3 @@ -38,11 +38,11 @@ erf, erff, erfl, \- error function .SH SYNOPSIS .nf .B #include - +.PP .BI "double erf(double " x ); .BI "float erff(float " x ); .BI "long double erfl(long double " x ); - +.PP .fi Link with \fI\-lm\fP. .PP diff --git a/man3/erfc.3 b/man3/erfc.3 index 3f6fd3ad3..2d8558ffe 100644 --- a/man3/erfc.3 +++ b/man3/erfc.3 @@ -29,12 +29,12 @@ erfc, erfcf, erfcl \- complementary error function .SH SYNOPSIS .nf .B #include - +.PP .BI "double erfc(double " x ); .BI "float erfcf(float " x ); .BI "long double erfcl(long double " x ); - .fi +.PP Link with \fI\-lm\fP. .PP .in -4n diff --git a/man3/error.3 b/man3/error.3 index 3cf540b0f..660de3952 100644 --- a/man3/error.3 +++ b/man3/error.3 @@ -31,16 +31,16 @@ error_print_progname \- glibc error reporting functions .SH SYNOPSIS .nf .B #include - +.PP .BI "void error(int " status ", int " errnum ", const char *" format ", ...);" - +.PP .BI "void error_at_line(int " status ", int " errnum ", const char *" filename , .BI " unsigned int " linenum ", const char *" format ", ...);" - +.PP .BI "extern unsigned int " error_message_count ; - +.PP .BI "extern int " error_one_per_line ; - +.PP .BI "extern void (*" error_print_progname ") (void);" .fi .SH DESCRIPTION diff --git a/man3/ferror.3 b/man3/ferror.3 index 41ef2f898..b1892e150 100644 --- a/man3/ferror.3 +++ b/man3/ferror.3 @@ -48,11 +48,11 @@ clearerr, feof, ferror, fileno \- check and reset stream status .B #include .PP .BI "void clearerr(FILE *" stream ); - +.PP .BI "int feof(FILE *" stream ); - +.PP .BI "int ferror(FILE *" stream ); - +.PP .BI "int fileno(FILE *" stream ); .PP .in -4n diff --git a/man3/ffs.3 b/man3/ffs.3 index ce653fcca..15ab23b4a 100644 --- a/man3/ffs.3 +++ b/man3/ffs.3 @@ -38,7 +38,7 @@ ffs, ffsl, ffsll \- find first bit set in a word .B #include .PP .BI "int ffs(int " i ); - +.PP .B #include .PP .BI "int ffsl(long int " i ); diff --git a/man3/fgetc.3 b/man3/fgetc.3 index 638c4c641..8d6e2a576 100644 --- a/man3/fgetc.3 +++ b/man3/fgetc.3 @@ -32,13 +32,13 @@ fgetc, fgets, getc, getchar, ungetc \- input of characters and strings .B #include .PP .BI "int fgetc(FILE *" stream ); - +.PP .BI "char *fgets(char *" "s" ", int " "size" ", FILE *" "stream" ); - +.PP .BI "int getc(FILE *" stream ); - +.PP .B "int getchar(void);" - +.PP .BI "int ungetc(int " c ", FILE *" stream ); .fi .SH DESCRIPTION diff --git a/man3/fmemopen.3 b/man3/fmemopen.3 index bd26ae6bb..e918b0e16 100644 --- a/man3/fmemopen.3 +++ b/man3/fmemopen.3 @@ -10,7 +10,7 @@ fmemopen \- open memory as stream .SH SYNOPSIS .nf .B #include - +.PP .BI "FILE *fmemopen(void *"buf ", size_t "size ", const char *" mode ");" .fi .PP diff --git a/man3/fopen.3 b/man3/fopen.3 index d1db6dae8..36c251a9e 100644 --- a/man3/fopen.3 +++ b/man3/fopen.3 @@ -49,9 +49,9 @@ fopen, fdopen, freopen \- stream open functions .B #include .PP .BI "FILE *fopen(const char *" pathname ", const char *" mode ); - +.PP .BI "FILE *fdopen(int " fd ", const char *" mode ); - +.PP .BI "FILE *freopen(const char *" pathname ", const char *" mode ", FILE *" stream ); .fi .PP diff --git a/man3/fopencookie.3 b/man3/fopencookie.3 index 165b6b6d9..cecc96e76 100644 --- a/man3/fopencookie.3 +++ b/man3/fopencookie.3 @@ -30,7 +30,7 @@ fopencookie \- opening a custom stream .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include - +.PP .BI "FILE *fopencookie(void *" cookie ", const char *" mode , .BI " cookie_io_functions_t " io_funcs ); .fi diff --git a/man3/fseek.3 b/man3/fseek.3 index b5c147b50..ecde45232 100644 --- a/man3/fseek.3 +++ b/man3/fseek.3 @@ -46,13 +46,13 @@ fgetpos, fseek, fsetpos, ftell, rewind \- reposition a stream .B #include .PP .BI "int fseek(FILE *" stream ", long " offset ", int " whence ); - +.PP .BI "long ftell(FILE *" stream ); - +.PP .BI "void rewind(FILE *" stream ); - +.PP .BI "int fgetpos(FILE *" stream ", fpos_t *" pos ); -.br +.PP .BI "int fsetpos(FILE *" stream ", const fpos_t *" pos ); .SH DESCRIPTION The diff --git a/man3/ftw.3 b/man3/ftw.3 index 9bfd4b155..93980e85f 100644 --- a/man3/ftw.3 +++ b/man3/ftw.3 @@ -44,7 +44,7 @@ ftw, nftw \- file tree walk .BI " int (*" fn ") (const char *" fpath ", const struct stat *" sb , .BI " int " typeflag ", struct FTW *" ftwbuf ), .BI " int " nopenfd ", int " flags ); - +.PP .B #include .PP .BI "int ftw(const char *" dirpath , diff --git a/man3/futimes.3 b/man3/futimes.3 index e777c2b22..db9a7f03e 100644 --- a/man3/futimes.3 +++ b/man3/futimes.3 @@ -28,9 +28,9 @@ futimes, lutimes \- change file timestamps .SH SYNOPSIS .nf .B #include - +.PP .BI "int futimes(int " fd ", const struct timeval " tv [2]); - +.PP .BI "int lutimes(const char *" filename ", const struct timeval " tv [2]); .fi .PP diff --git a/man3/getdate.3 b/man3/getdate.3 index c37dc239f..f48363686 100644 --- a/man3/getdate.3 +++ b/man3/getdate.3 @@ -36,7 +36,7 @@ getdate, getdate_r \- convert a date-plus-time string to broken-down time .BI "struct tm *getdate(const char *" string ); .PP .B "extern int getdate_err;" - +.PP .B "#include " .PP .BI "int getdate_r(const char *" string ", struct tm *" res ); diff --git a/man3/getenv.3 b/man3/getenv.3 index a154e393e..4200884fc 100644 --- a/man3/getenv.3 +++ b/man3/getenv.3 @@ -38,7 +38,7 @@ getenv, secure_getenv \- get an environment variable .B #include .PP .BI "char *getenv(const char *" name ); - +.PP .BI "char *secure_getenv(const char *" name ); .fi .PP diff --git a/man3/getline.3 b/man3/getline.3 index 97c13e0e2..c32ef68ac 100644 --- a/man3/getline.3 +++ b/man3/getline.3 @@ -31,7 +31,7 @@ getline, getdelim \- delimited string input .B #include .PP .BI "ssize_t getline(char **" lineptr ", size_t *" n ", FILE *" stream ); - +.PP .BI "ssize_t getdelim(char **" lineptr ", size_t *" n ", int " delim \ ", FILE *" stream ); .fi diff --git a/man3/getlogin.3 b/man3/getlogin.3 index 08d9d3826..902062327 100644 --- a/man3/getlogin.3 +++ b/man3/getlogin.3 @@ -34,7 +34,7 @@ getlogin, getlogin_r, cuserid \- get username .B "char *getlogin(void);" .br .BI "int getlogin_r(char *" buf ", size_t " bufsize ); - +.PP .B #include .PP .BI "char *cuserid(char *" string ); diff --git a/man3/getrpcent.3 b/man3/getrpcent.3 index 3c860920f..bb44b1004 100644 --- a/man3/getrpcent.3 +++ b/man3/getrpcent.3 @@ -12,15 +12,15 @@ RPC entry .SH SYNOPSIS .nf .B #include - +.PP .BI "struct rpcent *getrpcent(void);" - +.PP .BI "struct rpcent *getrpcbyname(const char *" name ); - +.PP .BI "struct rpcent *getrpcbynumber(int " number ); - +.PP .BI "void setrpcent(int " stayopen ); - +.PP .BI "void endrpcent(void);" .fi .SH DESCRIPTION diff --git a/man3/getsubopt.3 b/man3/getsubopt.3 index e65e5f9bb..a7992bf90 100644 --- a/man3/getsubopt.3 +++ b/man3/getsubopt.3 @@ -27,7 +27,7 @@ getsubopt \- parse suboption arguments from a string .SH SYNOPSIS .B #include - +.PP .BI "int getsubopt(char **"optionp ", char * const *" tokens \ ", char **" valuep ); .PP diff --git a/man3/getutmp.3 b/man3/getutmp.3 index d534179d7..a50477fa3 100644 --- a/man3/getutmp.3 +++ b/man3/getutmp.3 @@ -30,7 +30,7 @@ getutmp, getutmpx \- copy utmp structure to utmpx, and vice versa .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include - +.PP .BI " void getutmp(const struct utmpx *" ux ", struct utmp *" u ); .BI " void getutmpx(const struct utmp *" u ", struct utmpx *" ux ); .fi diff --git a/man3/getw.3 b/man3/getw.3 index 08f751f60..67751a04d 100644 --- a/man3/getw.3 +++ b/man3/getw.3 @@ -30,7 +30,7 @@ getw, putw \- input and output of words (ints) .B #include .PP .BI "int getw(FILE *" stream ); - +.PP .BI "int putw(int " w ", FILE *" stream ); .fi .PP diff --git a/man3/gnu_get_libc_version.3 b/man3/gnu_get_libc_version.3 index e59d8423e..df8534349 100644 --- a/man3/gnu_get_libc_version.3 +++ b/man3/gnu_get_libc_version.3 @@ -29,7 +29,7 @@ gnu_get_libc_version, gnu_get_libc_release \- get glibc version and release .SH SYNOPSIS .nf .B #include - +.PP .B const char *gnu_get_libc_version(void); .B const char *gnu_get_libc_release(void); .fi diff --git a/man3/inet_net_pton.3 b/man3/inet_net_pton.3 index 85bbebd8a..37758414b 100644 --- a/man3/inet_net_pton.3 +++ b/man3/inet_net_pton.3 @@ -29,7 +29,7 @@ inet_net_pton, inet_net_ntop \- Internet network number conversion .SH SYNOPSIS .nf .B #include - +.PP .BI "int inet_net_pton(int " af ", const char *" pres , .BI " void *" netp ", size_t " nsize ); diff --git a/man3/isalpha.3 b/man3/isalpha.3 index 5a9c965e2..661d4a5be 100644 --- a/man3/isalpha.3 +++ b/man3/isalpha.3 @@ -50,10 +50,10 @@ isprint_l, ispunct_l, isspace_l, isupper_l, isxdigit_l .BI "int isspace(int " c ); .BI "int isupper(int " c ); .BI "int isxdigit(int " c ); - +.PP .BI "int isascii(int " c ); .BI "int isblank(int " c ); - +.PP .BI "int isalnum_l(int " c ", locale_t " locale ); .BI "int isalpha_l(int " c ", locale_t " locale ); .BI "int isblank_l(int " c ", locale_t " locale ); @@ -66,7 +66,7 @@ isprint_l, ispunct_l, isspace_l, isupper_l, isxdigit_l .BI "int isspace_l(int " c ", locale_t " locale ); .BI "int isupper_l(int " c ", locale_t " locale ); .BI "int isxdigit_l(int " c ", locale_t " locale ); - +.PP .BI "int isascii_l(int " c ", locale_t " locale ); .fi .PP diff --git a/man3/lio_listio.3 b/man3/lio_listio.3 index 80abf73d8..26fff2776 100644 --- a/man3/lio_listio.3 +++ b/man3/lio_listio.3 @@ -27,10 +27,10 @@ lio_listio \- initiate a list of I/O requests .SH SYNOPSIS .nf .B "#include " - +.PP .BI "int lio_listio(int " mode ", struct aiocb *const " aiocb_list [], .BI " int " nitems ", struct sigevent *" sevp ); - +.PP Link with \fI\-lrt\fP. .fi .SH DESCRIPTION diff --git a/man3/makedev.3 b/man3/makedev.3 index 32e622568..79f335595 100644 --- a/man3/makedev.3 +++ b/man3/makedev.3 @@ -29,9 +29,9 @@ makedev, major, minor \- manage a device number .SH SYNOPSIS .nf .B #include - +.PP .BI "dev_t makedev(unsigned int " maj ", unsigned int " min ); - +.PP .BI "unsigned int major(dev_t " dev ); .BI "unsigned int minor(dev_t " dev ); .fi diff --git a/man3/malloc_get_state.3 b/man3/malloc_get_state.3 index 910e7b952..4797952cb 100644 --- a/man3/malloc_get_state.3 +++ b/man3/malloc_get_state.3 @@ -30,7 +30,7 @@ malloc_get_state, malloc_set_state \- record and restore state of malloc impleme .B #include .PP .BI "void* malloc_get_state(void);" - +.PP .BI "int malloc_set_state(void *" state ); .fi .SH DESCRIPTION diff --git a/man3/malloc_stats.3 b/man3/malloc_stats.3 index f2338d1c0..62cd0aebc 100644 --- a/man3/malloc_stats.3 +++ b/man3/malloc_stats.3 @@ -28,7 +28,7 @@ malloc_stats \- print memory allocation statistics .SH SYNOPSIS .B #include - +.PP .B void malloc_stats(void); .SH DESCRIPTION The diff --git a/man3/malloc_trim.3 b/man3/malloc_trim.3 index 1443bd361..6163c4ba1 100644 --- a/man3/malloc_trim.3 +++ b/man3/malloc_trim.3 @@ -28,7 +28,7 @@ malloc_trim \- release free memory from the top of the heap .SH SYNOPSIS .B #include - +.PP .BI "int malloc_trim(size_t " pad ); .SH DESCRIPTION The diff --git a/man3/malloc_usable_size.3 b/man3/malloc_usable_size.3 index 5c1c10aa7..d4e0d42ee 100644 --- a/man3/malloc_usable_size.3 +++ b/man3/malloc_usable_size.3 @@ -27,7 +27,7 @@ malloc_usable_size \- obtain size of block of memory allocated from heap .SH SYNOPSIS .B #include - +.PP .BI "size_t malloc_usable_size (void *" ptr ); .SH DESCRIPTION The diff --git a/man3/matherr.3 b/man3/matherr.3 index 006c7ef1c..2baf30014 100644 --- a/man3/matherr.3 +++ b/man3/matherr.3 @@ -39,7 +39,7 @@ matherr \- SVID math library exception handling .in -4n Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): - +.PP .in .ad l .BR significand (), diff --git a/man3/memchr.3 b/man3/memchr.3 index a3ac00094..a2705678e 100644 --- a/man3/memchr.3 +++ b/man3/memchr.3 @@ -35,11 +35,11 @@ memchr, memrchr, rawmemchr \- scan memory for a character .SH SYNOPSIS .nf .B #include - +.PP .BI "void *memchr(const void *" s ", int " c ", size_t " n ); - +.PP .BI "void *memrchr(const void *" s ", int " c ", size_t " n ); - +.PP .BI "void *rawmemchr(const void *" s ", int " c ); .fi .PP diff --git a/man3/nextup.3 b/man3/nextup.3 index e9d43ab69..701a957fe 100644 --- a/man3/nextup.3 +++ b/man3/nextup.3 @@ -30,15 +30,15 @@ return next floating-point number toward positive/negative infinity .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include - +.PP .BI "double nextup(double " x ); .BI "float nextupf(float " x ); .BI "long double nextupl(long double " x ); - +.PP .BI "double nextdown(double " x ); .BI "float nextdownf(float " x ); .BI "long double nextdownl(long double " x ); - +.PP Link with \fI\-lm\fP. .SH DESCRIPTION The diff --git a/man3/ntp_gettime.3 b/man3/ntp_gettime.3 index ea86db905..3a8a90827 100644 --- a/man3/ntp_gettime.3 +++ b/man3/ntp_gettime.3 @@ -28,9 +28,9 @@ ntp_gettime, ntp_gettimex \- get time parameters (NTP daemon interface) .SH SYNOPSIS .nf .B #include - +.PP .BI "int ntp_gettime(struct ntptimeval *" ntv ); - +.PP .BI "int ntp_gettimex(struct ntptimeval *" ntv ); .fi .SH DESCRIPTION diff --git a/man3/posix_madvise.3 b/man3/posix_madvise.3 index 93a8718b6..1629a02d6 100644 --- a/man3/posix_madvise.3 +++ b/man3/posix_madvise.3 @@ -23,10 +23,10 @@ posix_madvise \- give advice about patterns of memory usage .SH SYNOPSIS .nf .B #include - +.PP .BI "int posix_madvise(void *" addr ", size_t " len ", int " advice ); .fi - +.PP .in -4n Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): diff --git a/man3/program_invocation_name.3 b/man3/program_invocation_name.3 index 29fbecceb..521f1c190 100644 --- a/man3/program_invocation_name.3 +++ b/man3/program_invocation_name.3 @@ -29,7 +29,7 @@ obtain name used to invoke calling program .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include - +.PP .BI "extern char *" program_invocation_name ; .BI "extern char *" program_invocation_short_name ; .fi diff --git a/man3/pthread_atfork.3 b/man3/pthread_atfork.3 index 9af9cbe8c..ed0b85d7f 100644 --- a/man3/pthread_atfork.3 +++ b/man3/pthread_atfork.3 @@ -29,7 +29,7 @@ pthread_atfork \- register fork handlers .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_atfork(void (*" prepare ")(void), void (*" parent ")(void)," .BI " void (*" child ")(void));" .fi diff --git a/man3/pthread_attr_setaffinity_np.3 b/man3/pthread_attr_setaffinity_np.3 index 8d86c777f..a39e96efb 100644 --- a/man3/pthread_attr_setaffinity_np.3 +++ b/man3/pthread_attr_setaffinity_np.3 @@ -31,7 +31,7 @@ CPU affinity attribute in thread attributes object .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include - +.PP .BI "int pthread_attr_setaffinity_np(pthread_attr_t *" attr , .BI " size_t " cpusetsize ", const cpu_set_t *" cpuset ); .BI "int pthread_attr_getaffinity_np(const pthread_attr_t *" attr , diff --git a/man3/pthread_attr_setdetachstate.3 b/man3/pthread_attr_setdetachstate.3 index 045205ad7..a31c66250 100644 --- a/man3/pthread_attr_setdetachstate.3 +++ b/man3/pthread_attr_setdetachstate.3 @@ -30,7 +30,7 @@ set/get detach state attribute in thread attributes object .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_attr_setdetachstate(pthread_attr_t *" attr \ ", int " detachstate ); .BI "int pthread_attr_getdetachstate(const pthread_attr_t *" attr \ diff --git a/man3/pthread_attr_setguardsize.3 b/man3/pthread_attr_setguardsize.3 index fee157a0d..b6af3f259 100644 --- a/man3/pthread_attr_setguardsize.3 +++ b/man3/pthread_attr_setguardsize.3 @@ -30,7 +30,7 @@ attribute in thread attributes object .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_attr_setguardsize(pthread_attr_t *" attr \ ", size_t " guardsize ); .BI "int pthread_attr_getguardsize(const pthread_attr_t *" attr \ diff --git a/man3/pthread_attr_setinheritsched.3 b/man3/pthread_attr_setinheritsched.3 index 3b482a830..86a5af809 100644 --- a/man3/pthread_attr_setinheritsched.3 +++ b/man3/pthread_attr_setinheritsched.3 @@ -30,7 +30,7 @@ inherit-scheduler attribute in thread attributes object .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_attr_setinheritsched(pthread_attr_t *" attr , .BI " int " inheritsched ); .BI "int pthread_attr_getinheritsched(const pthread_attr_t *" attr , diff --git a/man3/pthread_attr_setschedparam.3 b/man3/pthread_attr_setschedparam.3 index 013e07d40..394c32473 100644 --- a/man3/pthread_attr_setschedparam.3 +++ b/man3/pthread_attr_setschedparam.3 @@ -30,7 +30,7 @@ scheduling parameter attributes in thread attributes object .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_attr_setschedparam(pthread_attr_t *" attr , .BI " const struct sched_param *" param ); .BI "int pthread_attr_getschedparam(const pthread_attr_t *" attr , diff --git a/man3/pthread_attr_setschedpolicy.3 b/man3/pthread_attr_setschedpolicy.3 index 065b122c0..fda061d09 100644 --- a/man3/pthread_attr_setschedpolicy.3 +++ b/man3/pthread_attr_setschedpolicy.3 @@ -30,7 +30,7 @@ scheduling policy attribute in thread attributes object .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_attr_setschedpolicy(pthread_attr_t *" attr \ ", int " policy ); .BI "int pthread_attr_getschedpolicy(const pthread_attr_t *" attr \ diff --git a/man3/pthread_attr_setscope.3 b/man3/pthread_attr_setscope.3 index 5d0c1409b..4292145bb 100644 --- a/man3/pthread_attr_setscope.3 +++ b/man3/pthread_attr_setscope.3 @@ -30,7 +30,7 @@ attribute in thread attributes object .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_attr_setscope(pthread_attr_t *" attr \ ", int " scope ); .BI "int pthread_attr_getscope(const pthread_attr_t *" attr \ diff --git a/man3/pthread_attr_setstack.3 b/man3/pthread_attr_setstack.3 index a0810f65e..b980225a6 100644 --- a/man3/pthread_attr_setstack.3 +++ b/man3/pthread_attr_setstack.3 @@ -30,7 +30,7 @@ attributes in thread attributes object .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_attr_setstack(pthread_attr_t *" attr , .BI " void *" stackaddr ", size_t " stacksize ); .BI "int pthread_attr_getstack(const pthread_attr_t *" attr , diff --git a/man3/pthread_attr_setstackaddr.3 b/man3/pthread_attr_setstackaddr.3 index c375acffc..40af17444 100644 --- a/man3/pthread_attr_setstackaddr.3 +++ b/man3/pthread_attr_setstackaddr.3 @@ -30,7 +30,7 @@ set/get stack address attribute in thread attributes object .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_attr_setstackaddr(pthread_attr_t *" attr \ ", void *" stackaddr ); .BI "int pthread_attr_getstackaddr(const pthread_attr_t *" attr \ diff --git a/man3/pthread_attr_setstacksize.3 b/man3/pthread_attr_setstacksize.3 index 503c35d8c..d0f916e27 100644 --- a/man3/pthread_attr_setstacksize.3 +++ b/man3/pthread_attr_setstacksize.3 @@ -30,7 +30,7 @@ attribute in thread attributes object .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_attr_setstacksize(pthread_attr_t *" attr \ ", size_t " stacksize ); .BI "int pthread_attr_getstacksize(const pthread_attr_t *" attr \ diff --git a/man3/pthread_cleanup_push_defer_np.3 b/man3/pthread_cleanup_push_defer_np.3 index 1d0183735..4affcd41b 100644 --- a/man3/pthread_cleanup_push_defer_np.3 +++ b/man3/pthread_cleanup_push_defer_np.3 @@ -30,7 +30,7 @@ thread cancellation clean-up handlers while saving cancelability type .SH SYNOPSIS .nf .B #include - +.PP .BI "void pthread_cleanup_push_defer_np(void (*" routine ")(void *)," .BI " void *" arg ); .BI "void pthread_cleanup_pop_restore_np(int " execute ); diff --git a/man3/pthread_detach.3 b/man3/pthread_detach.3 index 7b152dc80..3509762f3 100644 --- a/man3/pthread_detach.3 +++ b/man3/pthread_detach.3 @@ -29,7 +29,7 @@ pthread_detach \- detach a thread .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_detach(pthread_t " thread ); .fi .PP diff --git a/man3/pthread_equal.3 b/man3/pthread_equal.3 index c1fce18fd..08e5b1e2d 100644 --- a/man3/pthread_equal.3 +++ b/man3/pthread_equal.3 @@ -29,7 +29,7 @@ pthread_equal \- compare thread IDs .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_equal(pthread_t " t1 ", pthread_t " t2 ); .PP Compile and link with \fI\-pthread\fP. diff --git a/man3/pthread_exit.3 b/man3/pthread_exit.3 index 635c20fb6..0d9c6ff9a 100644 --- a/man3/pthread_exit.3 +++ b/man3/pthread_exit.3 @@ -29,7 +29,7 @@ pthread_exit \- terminate calling thread .SH SYNOPSIS .nf .B #include - +.PP .BI "void pthread_exit(void *" retval ); .PP Compile and link with \fI\-pthread\fP. diff --git a/man3/pthread_join.3 b/man3/pthread_join.3 index 27a154d4d..eb8e315df 100644 --- a/man3/pthread_join.3 +++ b/man3/pthread_join.3 @@ -29,7 +29,7 @@ pthread_join \- join with a terminated thread .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_join(pthread_t " thread ", void **" retval ); .fi .PP diff --git a/man3/pthread_kill.3 b/man3/pthread_kill.3 index 247b534a6..1f1ae9067 100644 --- a/man3/pthread_kill.3 +++ b/man3/pthread_kill.3 @@ -29,7 +29,7 @@ pthread_kill \- send a signal to a thread .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_kill(pthread_t " thread ", int " sig ); .fi .PP diff --git a/man3/pthread_kill_other_threads_np.3 b/man3/pthread_kill_other_threads_np.3 index 7aed1f6e4..d94a34cbe 100644 --- a/man3/pthread_kill_other_threads_np.3 +++ b/man3/pthread_kill_other_threads_np.3 @@ -29,7 +29,7 @@ pthread_kill_other_threads_np \- terminate all other threads in process .SH SYNOPSIS .nf .B #include - +.PP .B void pthread_kill_other_threads_np(void); .fi .SH DESCRIPTION diff --git a/man3/pthread_rwlockattr_setkind_np.3 b/man3/pthread_rwlockattr_setkind_np.3 index d1e99ff99..227e0af1c 100644 --- a/man3/pthread_rwlockattr_setkind_np.3 +++ b/man3/pthread_rwlockattr_setkind_np.3 @@ -29,7 +29,7 @@ the read-write lock kind of the thread read-write lock attribute object .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_rwlockattr_setkind_np(pthread_rwlockattr_t *" attr , .BI " int " pref ); .BI "int pthread_rwlockattr_getkind_np(const pthread_rwlockattr_t *" attr , diff --git a/man3/pthread_self.3 b/man3/pthread_self.3 index cb318fe47..1477fa76c 100644 --- a/man3/pthread_self.3 +++ b/man3/pthread_self.3 @@ -29,7 +29,7 @@ pthread_self \- obtain ID of the calling thread .SH SYNOPSIS .nf .B #include - +.PP .B pthread_t pthread_self(void); .PP Compile and link with \fI\-pthread\fP. diff --git a/man3/pthread_setcancelstate.3 b/man3/pthread_setcancelstate.3 index 791c46a5c..5b1d379b4 100644 --- a/man3/pthread_setcancelstate.3 +++ b/man3/pthread_setcancelstate.3 @@ -30,7 +30,7 @@ set cancelability state and type .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_setcancelstate(int " state ", int *" oldstate ); .BI "int pthread_setcanceltype(int " type ", int *" oldtype ); .PP diff --git a/man3/pthread_setconcurrency.3 b/man3/pthread_setconcurrency.3 index c3171375e..173632588 100644 --- a/man3/pthread_setconcurrency.3 +++ b/man3/pthread_setconcurrency.3 @@ -29,7 +29,7 @@ the concurrency level .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_setconcurrency(int " new_level ); .BI "int pthread_getconcurrency(void); .PP diff --git a/man3/pthread_setschedprio.3 b/man3/pthread_setschedprio.3 index ac4b87683..c037d9659 100644 --- a/man3/pthread_setschedprio.3 +++ b/man3/pthread_setschedprio.3 @@ -29,7 +29,7 @@ pthread_setschedprio \- set scheduling priority of a thread .SH SYNOPSIS .nf .B #include - +.PP .BI "int pthread_setschedprio(pthread_t " thread ", int " prio ); .PP Compile and link with \fI\-pthread\fP. diff --git a/man3/pthread_testcancel.3 b/man3/pthread_testcancel.3 index 13c228df2..7e5a36630 100644 --- a/man3/pthread_testcancel.3 +++ b/man3/pthread_testcancel.3 @@ -29,7 +29,7 @@ pthread_testcancel \- request delivery of any pending cancellation request .SH SYNOPSIS .nf .B #include - +.PP .B void pthread_testcancel(void); .PP Compile and link with \fI\-pthread\fP. diff --git a/man3/pthread_tryjoin_np.3 b/man3/pthread_tryjoin_np.3 index d8f27ad41..01bcb429d 100644 --- a/man3/pthread_tryjoin_np.3 +++ b/man3/pthread_tryjoin_np.3 @@ -31,9 +31,9 @@ terminated thread .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include - +.PP .BI "int pthread_tryjoin_np(pthread_t " thread ", void **" retval ); - +.PP .BI "int pthread_timedjoin_np(pthread_t " thread ", void **" retval , .BI " const struct timespec *" abstime ); .fi diff --git a/man3/pthread_yield.3 b/man3/pthread_yield.3 index 194c001cf..317aec1ef 100644 --- a/man3/pthread_yield.3 +++ b/man3/pthread_yield.3 @@ -29,7 +29,7 @@ pthread_yield \- yield the processor .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include - +.PP .B int pthread_yield(void); .fi .PP diff --git a/man3/puts.3 b/man3/puts.3 index b9615a309..2f039a437 100644 --- a/man3/puts.3 +++ b/man3/puts.3 @@ -31,13 +31,13 @@ fputc, fputs, putc, putchar, puts \- output of characters and strings .B #include .PP .BI "int fputc(int " c ", FILE *" stream ); - +.PP .BI "int fputs(const char *" "s" ", FILE *" "stream" ); - +.PP .BI "int putc(int " c ", FILE *" stream ); - +.PP .BI "int putchar(int " c ); - +.PP .BI "int puts(const char *" "s" ); .fi .SH DESCRIPTION diff --git a/man3/random.3 b/man3/random.3 index e69c3168f..48ea1d3c1 100644 --- a/man3/random.3 +++ b/man3/random.3 @@ -38,11 +38,11 @@ random, srandom, initstate, setstate \- random number generator .B #include .PP .B long int random(void); - +.PP .BI "void srandom(unsigned int " seed ); - +.PP .BI "char *initstate(unsigned int " seed ", char *" state ", size_t " n ); -.br +.PP .BI "char *setstate(char *" state ); .fi .PP diff --git a/man3/random_r.3 b/man3/random_r.3 index 6afb19bd1..1f246a861 100644 --- a/man3/random_r.3 +++ b/man3/random_r.3 @@ -32,12 +32,12 @@ random number generator .B #include .PP .BI "int random_r(struct random_data *" buf ", int32_t *" result ); - +.PP .BI "int srandom_r(unsigned int " seed ", struct random_data *" buf ); - +.PP .BI "int initstate_r(unsigned int " seed ", char *" statebuf , .BI " size_t " statelen ", struct random_data *" buf ); -.br +.PP .BI "int setstate_r(char *" statebuf ", struct random_data *" buf ); .fi .PP diff --git a/man3/rpc.3 b/man3/rpc.3 index c5cf1124b..cc46eef0e 100644 --- a/man3/rpc.3 +++ b/man3/rpc.3 @@ -28,13 +28,13 @@ To take use of these routines, include the header file .IR "" . The prototypes below make use of the following types: +.PP .in +4n .nf - .BI "typedef int " bool_t ; - +.PP .BI "typedef bool_t (*" xdrproc_t ") (XDR *, void *, ...);" - +.PP .BI "typedef bool_t (*" resultproc_t ") (caddr_t " resp , .BI " struct sockaddr_in *" raddr ); .fi diff --git a/man3/sched_getcpu.3 b/man3/sched_getcpu.3 index 9fa53d459..c5e826a1f 100644 --- a/man3/sched_getcpu.3 +++ b/man3/sched_getcpu.3 @@ -29,7 +29,7 @@ sched_getcpu \- determine CPU on which the calling thread is running .SH SYNOPSIS .nf .B #include - +.PP .B int sched_getcpu(void); .fi .PP diff --git a/man3/setnetgrent.3 b/man3/setnetgrent.3 index 03a8bfe66..353e90312 100644 --- a/man3/setnetgrent.3 +++ b/man3/setnetgrent.3 @@ -14,16 +14,16 @@ handle network group entries .SH SYNOPSIS .nf .B #include - +.PP .BI "int setnetgrent(const char *" netgroup ); - +.PP .B "void endnetgrent(void);" - +.PP .BI "int getnetgrent(char **" host ", char **" user ", char **" domain ); - +.PP .BI "int getnetgrent_r(char **" host ", char **" user "," .BI " char **" domain ", char *" buf ", size_t " buflen ); - +.PP .BI "int innetgr(const char *" netgroup ", const char *" host "," .BI " const char *" user ", const char *" domain ); .fi diff --git a/man3/sigwait.3 b/man3/sigwait.3 index 7894983c7..17a5c57a9 100644 --- a/man3/sigwait.3 +++ b/man3/sigwait.3 @@ -29,7 +29,7 @@ sigwait \- wait for a signal .SH SYNOPSIS .nf .B #include - +.PP .BI " int sigwait(const sigset_t *" set ", int *" sig ); .fi .PP diff --git a/man3/stdin.3 b/man3/stdin.3 index 226ef0561..ee72e4591 100644 --- a/man3/stdin.3 +++ b/man3/stdin.3 @@ -16,7 +16,7 @@ stdin, stdout, stderr \- standard I/O streams .SH SYNOPSIS .nf .B #include - +.PP .BI "extern FILE *" stdin ; .BI "extern FILE *" stdout ; .BI "extern FILE *" stderr ; diff --git a/man3/strerror.3 b/man3/strerror.3 index 3364aad5d..6692b824e 100644 --- a/man3/strerror.3 +++ b/man3/strerror.3 @@ -50,7 +50,7 @@ strerror, strerror_r, strerror_l \- return string describing error number .PP .BI "char *strerror_r(int " errnum ", char *" buf ", size_t " buflen ); /* GNU-specific */ - +.PP .BI "char *strerror_l(int " errnum ", locale_t " locale ); .fi .PP diff --git a/man3/strfmon.3 b/man3/strfmon.3 index f0492ec13..ea79b4f3c 100644 --- a/man3/strfmon.3 +++ b/man3/strfmon.3 @@ -30,7 +30,7 @@ strfmon, strfmon_l \- convert monetary value to a string .PP .BI "ssize_t strfmon(char *" s ", size_t " max ", const char *" format , .B "...);" - +.PP .BI "ssize_t strfmon_l(char *" s ", size_t " max ", locale_t " locale ", .B const char *" format , "...);" .fi diff --git a/man3/timeradd.3 b/man3/timeradd.3 index f34c5108d..e8662d840 100644 --- a/man3/timeradd.3 +++ b/man3/timeradd.3 @@ -30,17 +30,17 @@ timeradd, timersub, timercmp, timerclear, timerisset \- timeval operations .SH SYNOPSIS .nf .B #include - +.PP .BI "void timeradd(struct timeval *" a ", struct timeval *" b , .BI " struct timeval *" res ); - +.PP .BI "void timersub(struct timeval *" a ", struct timeval *" b , .BI " struct timeval *" res ); - +.PP .BI "void timerclear(struct timeval *" tvp ); - +.PP .BI "int timerisset(struct timeval *" tvp ); - +.PP .BI "int timercmp(struct timeval *" a ", struct timeval *" b ", " CMP ); .fi .PP diff --git a/man3/tmpnam.3 b/man3/tmpnam.3 index 36130afc6..3ae06889f 100644 --- a/man3/tmpnam.3 +++ b/man3/tmpnam.3 @@ -30,7 +30,7 @@ tmpnam, tmpnam_r \- create a name for a temporary file .SH SYNOPSIS .nf .B #include - +.PP .BI "char *tmpnam(char *" s ); .BI "char *tmpnam_r(char *" s ); .fi diff --git a/man3/toupper.3 b/man3/toupper.3 index 23538acd1..3bcd498d0 100644 --- a/man3/toupper.3 +++ b/man3/toupper.3 @@ -35,7 +35,7 @@ toupper, tolower, toupper_l, tolower_l \- convert uppercase or lowercase .BI "int toupper(int " "c" ); .br .BI "int tolower(int " "c" ); - +.PP .BI "int toupper_l(int " c ", locale_t " locale ); .BI "int tolower_l(int " c ", locale_t " locale ); .fi diff --git a/man3/towlower.3 b/man3/towlower.3 index 393a35c8e..576712d63 100644 --- a/man3/towlower.3 +++ b/man3/towlower.3 @@ -22,7 +22,7 @@ towlower, towlower_l \- convert a wide character to lowercase .B #include .PP .BI "wint_t towlower(wint_t " wc ); - +.PP .BI "wint_t towlower_l(wint_t " wc ", locale_t " locale ); .fi .PP diff --git a/man3/towupper.3 b/man3/towupper.3 index 2f628c7a5..8acf5fe96 100644 --- a/man3/towupper.3 +++ b/man3/towupper.3 @@ -22,7 +22,7 @@ towupper, towupper_l \- convert a wide character to uppercase .B #include .PP .BI "wint_t towupper(wint_t " wc ); - +.PP .BI "wint_t towupper_l(wint_t " wc ", locale_t " locale ); .fi .PP diff --git a/man3/ttyname.3 b/man3/ttyname.3 index e772ae036..741484372 100644 --- a/man3/ttyname.3 +++ b/man3/ttyname.3 @@ -32,7 +32,7 @@ ttyname, ttyname_r \- return name of a terminal .B #include .PP .BI "char *ttyname(int " fd ); - +.PP .BI "int ttyname_r(int " fd ", char *" buf ", size_t " buflen ); .fi .SH DESCRIPTION diff --git a/man3/uselocale.3 b/man3/uselocale.3 index dd43b4957..c19ff9401 100644 --- a/man3/uselocale.3 +++ b/man3/uselocale.3 @@ -29,7 +29,7 @@ uselocale \- set/get the locale for the calling thread .SH SYNOPSIS .nf .B #include - +.PP .BI "locale_t uselocale(locale_t " newloc ); .fi .PP diff --git a/man3/xdr.3 b/man3/xdr.3 index 703cd1c08..f7c03c284 100644 --- a/man3/xdr.3 +++ b/man3/xdr.3 @@ -17,15 +17,15 @@ These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using these routines. - +.PP The prototypes below are declared in .I and make use of the following types: +.PP .in +4n .nf - .BI "typedef int " bool_t ; - +.PP .BI "typedef bool_t (*" xdrproc_t ") (XDR *, void *,...);" .fi .in diff --git a/man4/dsp56k.4 b/man4/dsp56k.4 index ecdd47ff5..5be9783bb 100644 --- a/man4/dsp56k.4 +++ b/man4/dsp56k.4 @@ -33,7 +33,7 @@ dsp56k \- DSP56001 interface device .PP .BI "ssize_t read(int " fd ", void *" data ", size_t " length ); .BI "ssize_t write(int " fd ", void *" data ", size_t " length ); - +.PP .BI "int ioctl(int " fd ", DSP56K_UPLOAD, struct dsp56k_upload *" program ); .BI "int ioctl(int " fd ", DSP56K_SET_TX_WSIZE, int " wsize ); .BI "int ioctl(int " fd ", DSP56K_SET_RX_WSIZE, int " wsize ); diff --git a/man7/sigevent.7 b/man7/sigevent.7 index 9995527d7..3333ddb77 100644 --- a/man7/sigevent.7 +++ b/man7/sigevent.7 @@ -29,12 +29,12 @@ sigevent \- structure for notification from asynchronous routines .SH SYNOPSIS .nf #include - +.PP union sigval { /* Data passed with notification */ int sival_int; /* Integer value */ void *sival_ptr; /* Pointer value */ }; - +.PP struct sigevent { int sigev_notify; /* Notification method */ int sigev_signo; /* Notification signal */ diff --git a/man7/vdso.7 b/man7/vdso.7 index 58b0bbf58..863002be6 100644 --- a/man7/vdso.7 +++ b/man7/vdso.7 @@ -15,7 +15,7 @@ vdso \- overview of the virtual ELF dynamic shared object .SH SYNOPSIS .B #include - +.PP .B void *vdso = (uintptr_t) getauxval(AT_SYSINFO_EHDR); .SH DESCRIPTION The "vDSO" (virtual dynamic shared object) is a small shared library that