diff options
Diffstat (limited to 'man2/idle.2')
-rw-r--r-- | man2/idle.2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/man2/idle.2 b/man2/idle.2 index a54f0869..9bba6683 100644 --- a/man2/idle.2 +++ b/man2/idle.2 @@ -37,20 +37,20 @@ idle \- make process 0 idle .sp .B int idle(void); .SH DESCRIPTION -.B idle +.BR idle () is an internal system call used during bootstrap. It marks the process's pages as swappable, lowers its priority, and enters the main scheduling loop. -.B idle +.BR idle () never returns. .PP Only process 0 may call -.BR idle . +.BR idle (). Any user process, even a process with superuser permission, will receive .BR EPERM . .SH "RETURN VALUE" -.B idle +.BR idle () never returns for process 0, and always returns \-1 for a user process. .SH ERRORS .TP |