]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
man: Replace RETURN VALUE with EXIT STATUS in section 1
authorJesse Rosenstock <jmr@google.com>
Mon, 30 Jun 2025 18:32:49 +0000 (20:32 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 9 Sep 2025 09:53:19 +0000 (11:53 +0200)
According to man-pages(7), sections 1 and 8 should normally use
EXIT STATUS, while sections 2 and 3 should use RETURN VALUE.

https://man7.org/linux/man-pages/man7/man-pages.7.html

Signed-off-by: Jesse Rosenstock <jmr@google.com>
(cherry picked from commit 9dc97c99ae5b501a941dd31485671309a8f94573)

schedutils/coresched.1.adoc
schedutils/taskset.1.adoc

index 0d4c211f855a070a664cfbf0a9ce73131a46d496..254cc11eba1d4236312c059adf2de2040a9699bc 100644 (file)
@@ -98,7 +98,7 @@ Copy the cookie from a task with pid _123_ to the process group ID _456_{colon}:
 Retrieving or modifying the core scheduling cookie of a process requires *PTRACE_MODE_READ_REALCREDS* ptrace access to that process.
 See the section "Ptrace access mode checking" in *ptrace*(2) for more information.
 
-== RETURN VALUE
+== EXIT STATUS
 On success, *{command}* returns 0.
 If *{command}* fails, it will print an error and return 1.
 
index 056b1ca301887c27ef9b9ee09b7fa5ef31eb9a67..d43e276e7c9c15b0162c730cedfaa77b9a51d7cc 100644 (file)
@@ -105,7 +105,7 @@ The *--cpu-list* form is applicable only for launching new commands{colon}::
 
 A user can change the CPU affinity of a process belonging to the same user. A user must possess *CAP_SYS_NICE* to change the CPU affinity of a process belonging to another user. A user can retrieve the affinity mask of any process.
 
-== RETURN VALUE
+== EXIT STATUS
 
 *taskset* returns 0 in its affinity-getting mode as long as the provided PID exists.