1IDLE(2) Linux Programmer's Manual IDLE(2)
2
3
4
6 idle - make process 0 idle
7
9 #include <unistd.h>
10
11 int idle(void);
12
14 idle() is an internal system call used during bootstrap. It marks the
15 process's pages as swappable, lowers its priority, and enters the main
16 scheduling loop. idle() never returns.
17
18 Only process 0 may call idle(). Any user process, even a process with
19 superuser permission, will receive EPERM.
20
22 idle() never returns for process 0, and always returns -1 for a user
23 process.
24
26 EPERM Always, for a user process.
27
29 This function is Linux specific, and should not be used in programs
30 intended to be portable.
31
33 Since 2.3.13 this system call does not exist anymore.
34
35
36
37Linux 1.1.46 1994-08-21 IDLE(2)