]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
adjtimex.2, prctl.2, semget.2, signalfd.2, umount.2, syscall.2, dlopen.3, getgrent_r...
authorMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 19 May 2020 05:43:21 +0000 (07:43 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 19 May 2020 06:04:55 +0000 (08:04 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/adjtimex.2
man2/prctl.2
man2/semget.2
man2/signalfd.2
man2/syscall.2
man2/umount.2
man3/dlopen.3
man3/getgrent_r.3
man3/killpg.3

index 1a1f3e4e155c30e6fab5ee259301f4647ae35954..274d41fad23c3ef69c92aaa7ad71c10a1a1fbe7e 100644 (file)
@@ -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.
index d7c7c4c6f394f3767c20432001194782401ca05e..968a75ab41aac9eb36b017190d2517441eab4521 100644 (file)
@@ -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
index ed64b8dc3965f59e1020a50b47af7d36d6399160..21fda264e370d74d957acadc1894deef9210ec07 100644 (file)
@@ -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
index e80b1ba9b42d9a0c3b09ef6565efaac6d6699a44..080b8a15604b8cf746dd7adff6cc196d1ffb5612 100644 (file)
@@ -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
index d72465146cfed910f3439e7f7273c2b76267b38a..e3a0ceac1d43c7893dcf76457a17ed35ed282ffe 100644 (file)
@@ -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
index 2db49ed38be564ea7a9a81e848b1603cb8540dce..823601dc16724693d6b083adb12c56876716dfc4 100644 (file)
@@ -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
index 1ce71d84ad256567c6211a36e654883cafb7075c..3363f512054f410d6a7c547c875f930ad6022f30 100644 (file)
@@ -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
index dcf72a49255476e85314684d594e9a809f6225cc..0b0ea62a68767b1766395f525c366436c0c894d2 100644 (file)
@@ -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,
index f360d843fb979b67ca18dc7f3b5c522bb7e66928..bc69f75bf839d495d423b5026b785e7d87dba8f8 100644 (file)
@@ -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 :