diff --git a/man2/dup.2 b/man2/dup.2 index 56cdb6547..d004ab3e9 100644 --- a/man2/dup.2 +++ b/man2/dup.2 @@ -45,7 +45,7 @@ dup, dup2, dup3 \- duplicate a file descriptor .BI "int dup2(int " oldfd ", int " newfd ); .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" -.BR "#include " " /* Obtain O_* constant definitions */ +.BR "#include " " /* Obtain O_* constant definitions */" .B #include .PP .BI "int dup3(int " oldfd ", int " newfd ", int " flags ); diff --git a/man2/fallocate.2 b/man2/fallocate.2 index 276c5d3f1..a62706193 100644 --- a/man2/fallocate.2 +++ b/man2/fallocate.2 @@ -17,7 +17,7 @@ fallocate \- manipulate file space .B #include .PP .BI "int fallocate(int " fd ", int " mode ", off_t " offset \ -", off_t " len "); +", off_t " len ");" .fi .SH DESCRIPTION This is a nonportable, Linux-specific system call. diff --git a/man2/futex.2 b/man2/futex.2 index 3e43e0cf3..020b3d5b9 100644 --- a/man2/futex.2 +++ b/man2/futex.2 @@ -30,7 +30,7 @@ futex \- fast user-space locking .PP .BI "int futex(int *" uaddr ", int " futex_op ", int " val , .BI " const struct timespec *" timeout , \ -" \fR /* or: \fBuint32_t \fIval2\fP */ +" \fR /* or: \fBuint32_t \fIval2\fP */" .BI " int *" uaddr2 ", int " val3 ); .fi .PP @@ -1017,7 +1017,7 @@ user space atomically by setting the futex value to 0. .\" .\" lock(kernel_lock); .\" retry: -.\" +.\" .\" /* .\" * Owner might have unlocked in userspace before we .\" * were able to set the waiter bit. diff --git a/man2/ioctl_fat.2 b/man2/ioctl_fat.2 index 7958445f1..24bccdd2f 100644 --- a/man2/ioctl_fat.2 +++ b/man2/ioctl_fat.2 @@ -32,9 +32,9 @@ ioctl_fat \- manipulating the FAT filesystem .BI "int ioctl(int " fd ", FAT_IOCTL_GET_ATTRIBUTES, uint32_t *" attr ); .BI "int ioctl(int " fd ", FAT_IOCTL_SET_ATTRIBUTES, uint32_t *" attr ); .BI "int ioctl(int " fd ", FAT_IOCTL_GET_VOLUME_ID, uint32_t *" id ); -.BI "int ioctl(int " fd ", VFAT_IOCTL_READDIR_BOTH, +.BI "int ioctl(int " fd ", VFAT_IOCTL_READDIR_BOTH," .BI " struct __fat_dirent[2] " entry ); -.BI "int ioctl(int " fd ", VFAT_IOCTL_READDIR_SHORT, +.BI "int ioctl(int " fd ", VFAT_IOCTL_READDIR_SHORT," .BI " struct __fat_dirent[2] " entry ); .fi .SH DESCRIPTION diff --git a/man2/ioctl_ficlonerange.2 b/man2/ioctl_ficlonerange.2 index c1b108acb..7bc5a0422 100644 --- a/man2/ioctl_ficlonerange.2 +++ b/man2/ioctl_ficlonerange.2 @@ -57,7 +57,7 @@ at offset into the file .IR dest_fd at offset -.IR dest_offset ", +.IR dest_offset , provided that both are files. If .IR src_length diff --git a/man2/ioctl_fideduperange.2 b/man2/ioctl_fideduperange.2 index 5193f66cc..7b3511fe3 100644 --- a/man2/ioctl_fideduperange.2 +++ b/man2/ioctl_fideduperange.2 @@ -53,7 +53,7 @@ This ioctl performs the "compare and share if identical" operation on up to bytes from file descriptor .IR src_fd at offset -.IR src_offset ". +.IR src_offset . This information is conveyed in a structure of the following form: .PP .in +4n @@ -79,7 +79,7 @@ must be zero. Destinations for the deduplication operation are conveyed in the array at the end of the structure. The number of destinations is given in -.IR dest_count ", +.IR dest_count , and the destination information is conveyed in the following form: .PP .in +4n @@ -99,7 +99,7 @@ Each deduplication operation targets bytes in file descriptor .IR dest_fd at offset -.IR dest_offset ". +.IR dest_offset . The field .IR reserved must be zero. @@ -129,7 +129,7 @@ Upon successful completion of this ioctl, the number of bytes successfully deduplicated is returned in .IR bytes_deduped and a status code for the deduplication operation is returned in -.IR status ". +.IR status . If even a single byte in the range does not match, the deduplication request will be ignored and .IR status diff --git a/man2/madvise.2 b/man2/madvise.2 index a0f3a477a..bbad5df5f 100644 --- a/man2/madvise.2 +++ b/man2/madvise.2 @@ -241,7 +241,7 @@ Undo the effect of restoring the default behavior, whereby a mapping is inherited across .BR fork (2). .TP -.BR MADV_HWPOISON " (since Linux 2.6.32) +.BR MADV_HWPOISON " (since Linux 2.6.32)" .\" commit 9893e49d64a4874ea67849ee2cfbf3f3d6817573 Poison the pages in the range specified by .I addr @@ -297,7 +297,7 @@ KSM unmerges whatever pages it had merged in the address range specified by and .IR length . .TP -.BR MADV_SOFT_OFFLINE " (since Linux 2.6.33) +.BR MADV_SOFT_OFFLINE " (since Linux 2.6.33)" .\" commit afcf938ee0aac4ef95b1a23bac704c6fbeb26de6 Soft offline the pages in the range specified by .I addr diff --git a/man2/membarrier.2 b/man2/membarrier.2 index f997b4510..8825de71e 100644 --- a/man2/membarrier.2 +++ b/man2/membarrier.2 @@ -28,7 +28,7 @@ membarrier \- issue memory barriers on a set of threads .SH SYNOPSIS .B #include .PP -.BI "int membarrier(int " cmd ", int " flags "); +.BI "int membarrier(int " cmd ", int " flags ");" .SH DESCRIPTION The .BR membarrier () diff --git a/man2/mprotect.2 b/man2/mprotect.2 index 3b0931bbc..ab08bfe79 100644 --- a/man2/mprotect.2 +++ b/man2/mprotect.2 @@ -42,7 +42,7 @@ mprotect, pkey_mprotect \- set protection on a region of memory .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include .PP -.BI "int pkey_mprotect(void *" addr ", size_t " len ", int " prot ", int " pkey "); +.BI "int pkey_mprotect(void *" addr ", size_t " len ", int " prot ", int " pkey ");" .fi .SH DESCRIPTION .BR mprotect () diff --git a/man2/open.2 b/man2/open.2 index 81dfd2086..79916f6bf 100644 --- a/man2/open.2 +++ b/man2/open.2 @@ -68,7 +68,7 @@ open, openat, creat \- open and possibly create a file .PP /* Documented separately, in \fBopenat2\fP(2): */ .BI "int openat2(int " dirfd ", const char *" pathname , -.BI " const struct open_how *" how ", size_t " size "); +.BI " const struct open_how *" how ", size_t " size ");" .fi .PP .in -4n diff --git a/man2/openat2.2 b/man2/openat2.2 index ab9af161c..d64004b3e 100644 --- a/man2/openat2.2 +++ b/man2/openat2.2 @@ -32,7 +32,7 @@ openat2 \- open and possibly create a file (extended) .B #include .PP .BI "int openat2(int " dirfd ", const char *" pathname , -.BI " struct open_how *" how ", size_t " size "); +.BI " struct open_how *" how ", size_t " size ");" .fi .PP .IR Note : diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index c29761335..a8bca9e36 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -1759,7 +1759,7 @@ where perf sample data begins. Contains the size of the perf sample region within the mmap buffer. .TP -.IR aux_head ", " aux_tail ", " aux_offset ", " aux_size " (since Linux 4.1) +.IR aux_head ", " aux_tail ", " aux_offset ", " aux_size " (since Linux 4.1)" .\" commit 45bfb2e50471abbbfd83d40d28c986078b0d24ff The AUX region allows mmaping a separate sample buffer for high-bandwidth data streams (separate from the main perf sample buffer). diff --git a/man2/perfmonctl.2 b/man2/perfmonctl.2 index d1c4c8c2a..b8ebf73f7 100644 --- a/man2/perfmonctl.2 +++ b/man2/perfmonctl.2 @@ -32,7 +32,7 @@ perfmonctl \- interface to IA-64 performance monitoring unit .B #include .B #include .PP -.BI "long perfmonctl(int " fd ", int " cmd ", void *" arg ", int " narg "); +.BI "long perfmonctl(int " fd ", int " cmd ", void *" arg ", int " narg ");" .fi .IR Note : There is no glibc wrapper for this system call; see NOTES. @@ -61,7 +61,7 @@ are: .TP .B PFM_CREATE_CONTEXT .nf -.BI "perfmonctl(int " fd ", PFM_CREATE_CONTEXT, pfarg_context_t *" ctxt ", 1); +.BI "perfmonctl(int " fd ", PFM_CREATE_CONTEXT, pfarg_context_t *" ctxt ", 1);" .fi Set up a context. .IP @@ -91,13 +91,13 @@ on the file descriptor. .B PFM_WRITE_PMCS .\" pfm_write_pmcs() .nf -.BI "perfmonctl(int " fd ", PFM_WRITE_PMCS, pfarg_reg_t *" pmcs ", n); +.BI "perfmonctl(int " fd ", PFM_WRITE_PMCS, pfarg_reg_t *" pmcs ", n);" .fi Set PMC registers. .TP .B PFM_WRITE_PMDS .nf -.BI "perfmonctl(int " fd ", PFM_WRITE_PMDS, pfarg_reg_t *" pmds ", n); +.BI "perfmonctl(int " fd ", PFM_WRITE_PMDS, pfarg_reg_t *" pmds ", n);" .fi .\" pfm_write_pmds() Set PMD registers. @@ -105,7 +105,7 @@ Set PMD registers. .B PFM_READ_PMDS .\" pfm_read_pmds() .nf -.BI "perfmonctl(int " fd ", PFM_READ_PMDS, pfarg_reg_t *" pmds ", n); +.BI "perfmonctl(int " fd ", PFM_READ_PMDS, pfarg_reg_t *" pmds ", n);" .fi Read PMD registers. .TP @@ -113,48 +113,48 @@ Read PMD registers. .\" pfm_start() .nf .\" .BI "perfmonctl(int " fd ", PFM_START, arg, 1); -.BI "perfmonctl(int " fd ", PFM_START, NULL, 0); +.BI "perfmonctl(int " fd ", PFM_START, NULL, 0);" .fi Start monitoring. .TP .B PFM_STOP .\" pfm_stop() .nf -.BI "perfmonctl(int " fd ", PFM_STOP, NULL, 0); +.BI "perfmonctl(int " fd ", PFM_STOP, NULL, 0);" .fi Stop monitoring. .TP .B PFM_LOAD_CONTEXT .\" pfm_context_load() .nf -.BI "perfmonctl(int " fd ", PFM_LOAD_CONTEXT, pfarg_load_t *" largs ", 1); +.BI "perfmonctl(int " fd ", PFM_LOAD_CONTEXT, pfarg_load_t *" largs ", 1);" .fi Attach the context to a thread. .TP .B PFM_UNLOAD_CONTEXT .\" pfm_context_unload() .nf -.BI "perfmonctl(int " fd ", PFM_UNLOAD_CONTEXT, NULL, 0); +.BI "perfmonctl(int " fd ", PFM_UNLOAD_CONTEXT, NULL, 0);" .fi Detach the context from a thread. .TP .B PFM_RESTART .\" pfm_restart() .nf -.BI "perfmonctl(int " fd ", PFM_RESTART, NULL, 0); +.BI "perfmonctl(int " fd ", PFM_RESTART, NULL, 0);" .fi Restart monitoring after receiving an overflow notification. .TP .B PFM_GET_FEATURES .\" pfm_get_features() .nf -.BI "perfmonctl(int " fd ", PFM_GET_FEATURES, pfarg_features_t *" arg ", 1); +.BI "perfmonctl(int " fd ", PFM_GET_FEATURES, pfarg_features_t *" arg ", 1);" .fi .TP .B PFM_DEBUG .\" pfm_debug() .nf -.BI "perfmonctl(int " fd ", PFM_DEBUG, " val ", 0); +.BI "perfmonctl(int " fd ", PFM_DEBUG, " val ", 0);" .fi If .I val @@ -163,7 +163,7 @@ is nonzero, enable debugging mode, otherwise disable. .B PFM_GET_PMC_RESET_VAL .\" pfm_get_pmc_reset() .nf -.BI "perfmonctl(int " fd ", PFM_GET_PMC_RESET_VAL, pfarg_reg_t *" req ", n); +.BI "perfmonctl(int " fd ", PFM_GET_PMC_RESET_VAL, pfarg_reg_t *" req ", n);" .fi Reset PMC registers to default values. .\" diff --git a/man2/pipe.2 b/man2/pipe.2 index afcc940ab..117f8950c 100644 --- a/man2/pipe.2 +++ b/man2/pipe.2 @@ -50,7 +50,7 @@ pipe, pipe2 \- create pipe .BI "int pipe(int " pipefd "[2]);" .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" -.BR "#include " " /* Obtain O_* constant definitions */ +.BR "#include " " /* Obtain O_* constant definitions */" .B #include .PP .BI "int pipe2(int " pipefd "[2], int " flags ); diff --git a/man2/process_vm_readv.2 b/man2/process_vm_readv.2 index e0a2f8886..0995d4041 100644 --- a/man2/process_vm_readv.2 +++ b/man2/process_vm_readv.2 @@ -25,7 +25,7 @@ .\" %%%LICENSE_END .\" .\" Commit fcf634098c00dd9cd247447368495f0b79be12d1 -.\" +.\" .TH PROCESS_VM_READV 2 2020-06-09 "Linux" "Linux Programmer's Manual" .SH NAME process_vm_readv, process_vm_writev \- transfer data between process address spaces diff --git a/man2/s390_pci_mmio_write.2 b/man2/s390_pci_mmio_write.2 index c6ec89892..802142987 100644 --- a/man2/s390_pci_mmio_write.2 +++ b/man2/s390_pci_mmio_write.2 @@ -30,10 +30,10 @@ MMIO memory page .nf .B #include .PP -.BI "int s390_pci_mmio_write(unsigned long " mmio_addr ", -.BI " void *" user_buffer ", size_t " length "); -.BI "int s390_pci_mmio_read(unsigned long " mmio_addr ", -.BI " void *" user_buffer ", size_t " length "); +.BI "int s390_pci_mmio_write(unsigned long " mmio_addr "," +.BI " void *" user_buffer ", size_t " length ");" +.BI "int s390_pci_mmio_read(unsigned long " mmio_addr "," +.BI " void *" user_buffer ", size_t " length ");" .fi .SH DESCRIPTION The diff --git a/man2/s390_runtime_instr.2 b/man2/s390_runtime_instr.2 index a15addc07..558e9c99d 100644 --- a/man2/s390_runtime_instr.2 +++ b/man2/s390_runtime_instr.2 @@ -29,7 +29,7 @@ s390_runtime_instr \- enable/disable s390 CPU run-time instrumentation .nf .B #include .PP -.BI "int s390_runtime_instr(int " command ", int " signum "); +.BI "int s390_runtime_instr(int " command ", int " signum ");" .fi .SH DESCRIPTION The diff --git a/man2/s390_sthyi.2 b/man2/s390_sthyi.2 index 4d534bb93..2ff06051a 100644 --- a/man2/s390_sthyi.2 +++ b/man2/s390_sthyi.2 @@ -29,8 +29,8 @@ s390_sthyi \- emulate STHYI instruction .nf .B #include .PP -.BI "int s390_sthyi(unsigned long " function_code ", void *" resp_buffer ", -.BI " uint64_t *" return_code ", unsigned long " flags "); +.BI "int s390_sthyi(unsigned long " function_code ", void *" resp_buffer "," +.BI " uint64_t *" return_code ", unsigned long " flags ");" .fi .SH DESCRIPTION The diff --git a/man2/set_thread_area.2 b/man2/set_thread_area.2 index 1ef74de24..2e6116532 100644 --- a/man2/set_thread_area.2 +++ b/man2/set_thread_area.2 @@ -21,7 +21,7 @@ get_thread_area, set_thread_area \- manipulate thread-local storage information .PP .B #elif defined __m68k__ .PP -.B "int get_thread_area(void); +.B "int get_thread_area(void);" .BI "int set_thread_area(unsigned long " tp ); .PP .B #elif defined __mips__ diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2 index a032620a9..92e3d7e7e 100644 --- a/man2/sigprocmask.2 +++ b/man2/sigprocmask.2 @@ -42,7 +42,7 @@ sigprocmask, rt_sigprocmask \- examine and change blocked signals .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 ); " +.BI " old_kernel_sigset_t *" oldset ); .fi .PP .in -4n diff --git a/man2/subpage_prot.2 b/man2/subpage_prot.2 index 78e978ecb..b38ba718f 100644 --- a/man2/subpage_prot.2 +++ b/man2/subpage_prot.2 @@ -33,7 +33,7 @@ subpage_prot \- define a subpage protection for an address range .SH SYNOPSIS .nf .BI "long subpage_prot(unsigned long " addr ", unsigned long " len , -.BI " uint32_t *" map "); +.BI " uint32_t *" map ); .fi .PP .IR Note : diff --git a/man2/unshare.2 b/man2/unshare.2 index d3242be70..110f739da 100644 --- a/man2/unshare.2 +++ b/man2/unshare.2 @@ -230,7 +230,7 @@ requires the .BR CAP_SYS_ADMIN capability. .TP -.BR CLONE_SYSVSEM " (since Linux 2.6.26) +.BR CLONE_SYSVSEM " (since Linux 2.6.26)" .\" commit 9edff4ab1f8d82675277a04e359d0ed8bf14a7b7 This flag reverses the effect of the .BR clone (2) diff --git a/man3/cmsg.3 b/man3/cmsg.3 index 7f0af5b5a..2f9910093 100644 --- a/man3/cmsg.3 +++ b/man3/cmsg.3 @@ -15,7 +15,7 @@ CMSG_ALIGN, CMSG_SPACE, CMSG_NXTHDR, CMSG_FIRSTHDR \- access ancillary data .nf .B #include .BI "struct cmsghdr *CMSG_FIRSTHDR(struct msghdr *" msgh ); -.BI "struct cmsghdr *CMSG_NXTHDR(struct msghdr *" msgh " , +.BI "struct cmsghdr *CMSG_NXTHDR(struct msghdr *" msgh , .BR " struct cmsghdr *" cmsg ); .BI "size_t CMSG_ALIGN(size_t " length ); .BI "size_t CMSG_SPACE(size_t " length ); diff --git a/man3/newlocale.3 b/man3/newlocale.3 index c56375d1d..2d71f1a8c 100644 --- a/man3/newlocale.3 +++ b/man3/newlocale.3 @@ -30,7 +30,7 @@ newlocale, freelocale \- create, modify, and free a locale object .nf .B #include .PP -.BI "locale_t newlocale(int " category_mask ", const char *" locale ", +.BI "locale_t newlocale(int " category_mask ", const char *" locale , .BI " locale_t " base ); .PP .BI "void freelocale(locale_t " locobj ); diff --git a/man3/pthread_setname_np.3 b/man3/pthread_setname_np.3 index b0cf4d0b8..575f04019 100644 --- a/man3/pthread_setname_np.3 +++ b/man3/pthread_setname_np.3 @@ -30,7 +30,7 @@ pthread_setname_np, pthread_getname_np \- set/get the name of a thread .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include -.BI "int pthread_setname_np(pthread_t " thread ", const char *" name "); +.BI "int pthread_setname_np(pthread_t " thread ", const char *" name ); .BI "int pthread_getname_np(pthread_t " thread , .BI " char *" name ", size_t " len ); .fi diff --git a/man3/strfmon.3 b/man3/strfmon.3 index 66d345381..af61d3384 100644 --- a/man3/strfmon.3 +++ b/man3/strfmon.3 @@ -31,7 +31,7 @@ strfmon, strfmon_l \- convert monetary value to a string .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 ", +.BI "ssize_t strfmon_l(char *" s ", size_t " max ", locale_t " locale , .B const char *" format , "...);" .fi .SH DESCRIPTION diff --git a/man3/strfromd.3 b/man3/strfromd.3 index 61864553b..fc747438a 100644 --- a/man3/strfromd.3 +++ b/man3/strfromd.3 @@ -37,11 +37,11 @@ a string .nf .B #include .PP -.BI "int strfromd(char *restrict " str ", size_t " n ", +.BI "int strfromd(char *restrict " str ", size_t " n , .BI " const char *restrict " format ", double " fp ");" -.BI "int strfromf(char *restrict " str ", size_t " n ", +.BI "int strfromf(char *restrict " str ", size_t " n , .BI " const char *restrict " format ", float "fp ");" -.BI "int strfroml(char *restrict " str ", size_t " n ", +.BI "int strfroml(char *restrict " str ", size_t " n , .BI " const char *restrict " format ", long double " fp ");" .fi .PP diff --git a/man3/tsearch.3 b/man3/tsearch.3 index 62393aedf..452395d6b 100644 --- a/man3/tsearch.3 +++ b/man3/tsearch.3 @@ -49,7 +49,7 @@ tsearch, tfind, tdelete, twalk, tdestroy \- manage a binary search tree .PP .BI "void twalk_r(const void *" root , .BI " void (*" action ")(const void *" nodep ", VISIT " which , -.BI " void *" closure "), +.BI " void *" closure ), .BI " void *" closure ); .PP .BI "void tdestroy(void *" root ", void (*" free_node ")(void *" nodep )); diff --git a/man7/tcp.7 b/man7/tcp.7 index 20d418d6a..d91c6534f 100644 --- a/man7/tcp.7 +++ b/man7/tcp.7 @@ -371,7 +371,7 @@ A value of 0 implies that no amount is reserved. .\" .\" The following is from 2.6.28-rc4: Documentation/networking/ip-sysctl.txt .TP -.IR tcp_base_mss " (Integer; default: 512; since Linux 2.6.17) +.IR tcp_base_mss " (Integer; default: 512; since Linux 2.6.17)" The initial value of .I search_low to be used by the packetization layer Path MTU discovery (MTU probing). @@ -630,7 +630,7 @@ attempting to automatically size the buffer (no greater than .IR tcp_rmem[2] ) to match the size required by the path for full throughput. .TP -.IR tcp_mem " (since Linux 2.4) +.IR tcp_mem " (since Linux 2.4)" .\" Since 2.4.0-test7 This is a vector of 3 integers: [low, pressure, high]. These bounds, measured in units of the system page size, diff --git a/man8/ld.so.8 b/man8/ld.so.8 index f34eca3d8..9034612ed 100644 --- a/man8/ld.so.8 +++ b/man8/ld.so.8 @@ -682,7 +682,7 @@ program if the .B LD_TRACE_LOADED_OBJECTS environment variable has been set. .TP -.BR LD_WARN " (since glibc 2.1.3) +.BR LD_WARN " (since glibc 2.1.3)" If set to a nonempty string, warn about unresolved symbols. .TP .BR LD_PREFER_MAP_32BIT_EXEC " (x86-64 only; since glibc 2.23)"