diff --git a/man2/getpriority.2 b/man2/getpriority.2 index 90dc25037..89b258b61 100644 --- a/man2/getpriority.2 +++ b/man2/getpriority.2 @@ -151,6 +151,12 @@ soft resource limit of the target process; see .BR getrlimit (2) for details. .SH NOTES +A child created by +.BR fork (2) +inherits its parent's nice value. +The nice value is preserved across +.BR execve (2). + The details on the condition for EPERM depend on the system. The above description is what SUSv3 says, and seems to be followed on all System V-like systems.