From: Michael Kerrisk Date: Tue, 19 May 2020 05:43:21 +0000 (+0200) Subject: adjtimex.2, prctl.2, semget.2, signalfd.2, umount.2, syscall.2, dlopen.3, getgrent_r... X-Git-Tag: man-pages-5.07~113 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fman-pages.git;a=commitdiff_plain;h=e3a78ee96580aee35e487a5fcfd028f4766f5b9e adjtimex.2, prctl.2, semget.2, signalfd.2, umount.2, syscall.2, dlopen.3, getgrent_r.3, killpg.3: Add section number in page cross-reference (adjtime(3)) Signed-off-by: Michael Kerrisk --- diff --git a/man2/adjtimex.2 b/man2/adjtimex.2 index 1a1f3e4e15..274d41fad2 100644 --- a/man2/adjtimex.2 +++ b/man2/adjtimex.2 @@ -233,7 +233,7 @@ in which case other bits should not be specified in .\" In user space, ADJ_OFFSET_SINGLESHOT is 0x8001 .\" In kernel space it is 0x0001, and must be ANDed with ADJ_ADJTIME (0x8000) Old-fashioned -.BR adjtime (): +.BR adjtime (3): (gradually) adjust time by value specified in .IR buf.offset , which specifies an adjustment in microseconds. diff --git a/man2/prctl.2 b/man2/prctl.2 index d7c7c4c6f3..968a75ab41 100644 --- a/man2/prctl.2 +++ b/man2/prctl.2 @@ -201,7 +201,7 @@ When a process becomes orphaned then that process will be reparented to the nearest still living ancestor subreaper. Subsequently, calls to -.BR getppid () +.BR getppid (2) in the orphaned process will now return the PID of the subreaper process, and when the orphan terminates, it is the subreaper process that will receive a diff --git a/man2/semget.2 b/man2/semget.2 index ed64b8dc39..21fda264e3 100644 --- a/man2/semget.2 +++ b/man2/semget.2 @@ -365,7 +365,7 @@ key semid owner perms nsems .in .PP Next, we demonstrate that when -.BR semctl () +.BR semctl (2) is given the same .I key (as generated by the same arguments to diff --git a/man2/signalfd.2 b/man2/signalfd.2 index e80b1ba9b4..080b8a1560 100644 --- a/man2/signalfd.2 +++ b/man2/signalfd.2 @@ -271,7 +271,7 @@ instance, then .BR epoll_wait (2) returns events only for signals sent to that process. In particular, if the process then uses -.BR fork () +.BR fork (2) to create a child process, then the child will be able to .BR read (2) signals that are sent to it using the signalfd file descriptor, but diff --git a/man2/syscall.2 b/man2/syscall.2 index d72465146c..e3a0ceac1d 100644 --- a/man2/syscall.2 +++ b/man2/syscall.2 @@ -118,7 +118,7 @@ Thus, using .BR syscall () instead of the wrapper provided by glibc, the -.BR readahead () +.BR readahead (2) system call would be invoked as follows on the ARM architecture with the EABI in little endian mode: .PP diff --git a/man2/umount.2 b/man2/umount.2 index 2db49ed38b..823601dc16 100644 --- a/man2/umount.2 +++ b/man2/umount.2 @@ -199,7 +199,7 @@ To ensure .BR umount () does not propagate in this fashion, the mount point may be remounted using a -.BR mount () +.BR mount (2) call with a .I mount_flags argument that includes both diff --git a/man3/dlopen.3 b/man3/dlopen.3 index 1ce71d84ad..3363f51205 100644 --- a/man3/dlopen.3 +++ b/man3/dlopen.3 @@ -194,7 +194,7 @@ If .I filename is NULL, then the returned handle is for the main program. When given to -.BR dlsym (), +.BR dlsym (3), this handle causes a search for a symbol in the main program, followed by all shared objects loaded at program startup, and then all shared objects loaded by diff --git a/man3/getgrent_r.3 b/man3/getgrent_r.3 index dcf72a4925..0b0ea62a68 100644 --- a/man3/getgrent_r.3 +++ b/man3/getgrent_r.3 @@ -136,9 +136,9 @@ In the above table, in .I race:grent signifies that if any of the functions -.BR setgrent (), -.BR getgrent (), -.BR endgrent (), +.BR setgrent (3), +.BR getgrent (3), +.BR endgrent (3), or .BR getgrent_r () are used in parallel in different threads of a program, diff --git a/man3/killpg.3 b/man3/killpg.3 index f360d843fb..bc69f75bf8 100644 --- a/man3/killpg.3 +++ b/man3/killpg.3 @@ -112,7 +112,7 @@ first appeared in 4BSD). There are various differences between the permission checking in BSD-type systems and System\ V-type systems. See the POSIX rationale for -.BR kill (). +.BR kill (3p). A difference not mentioned by POSIX concerns the return value .BR EPERM :