1IDLE(2)                    Linux Programmer's Manual                   IDLE(2)
2
3
4

NAME

6       idle - make process 0 idle
7

SYNOPSIS

9       #include <unistd.h>
10
11       int idle(void);
12

DESCRIPTION

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

RETURN VALUE

22       idle() never returns for process 0, and always returns -1  for  a  user
23       process.
24

ERRORS

26       EPERM  Always, for a user process.
27

VERSIONS

29       Since 2.3.13 this system call does not exist anymore.
30

CONFORMING TO

32       This  function  is  Linux-specific,  and should not be used in programs
33       intended to be portable.
34

COLOPHON

36       This page is part of release 3.22 of the Linux  man-pages  project.   A
37       description  of  the project, and information about reporting bugs, can
38       be found at http://www.kernel.org/doc/man-pages/.
39
40
41
42Linux                             1994-08-21                           IDLE(2)
Impressum