idle(2)


NAME

   idle - make process 0 idle

SYNOPSIS

   #include <unistd.h>

   int idle(void);

DESCRIPTION

   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.  idle() never returns.

   Only  process 0 may call idle().  Any user process, even a process with
   superuser permission, will receive EPERM.

RETURN VALUE

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

ERRORS

   EPERM  Always, for a user process.

VERSIONS

   Since Linux 2.3.13, this system call does not exist anymore.

CONFORMING TO

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

COLOPHON

   This page is part of release 4.09 of the Linux  man-pages  project.   A
   description  of  the project, information about reporting bugs, and the
   latest    version    of    this    page,    can     be     found     at
   https://www.kernel.org/doc/man-pages/.


More Linux Commands

manpages/perl5100delta.1.html
perl5100delta(1) - what is new for perl 5.10.0 (Man Page)...
This document describes the differences between the 5.8.8 release and the 5.10.0 release. Many of the bug fixes in 5.10.0 were already seen in the 5.8.X mainten

manpages/Tcl_PkgRequireProc.3.html
Tcl_PkgRequireProc(3) - package version control (Man Page)
These procedures provide C-level interfaces to Tcls package and version management facilities. Tcl_PkgRequire is equivalent to the package require command, Tcl_

manpages/XTextItem.3.html
XTextItem(3) - draw polytext text and text drawing structure
The XDrawText16 function is similar to XDrawText except that it uses 2-byte or 16-bit characters. Both functions allow complex spacing and font shifts between c

manpages/sigevent.7.html
sigevent(7) - structure for notification from asynchronous r
The sigevent structure is used by various APIs to describe the way a process is to be notified about an event (e.g., completion of an asynchronous request, expi

manpages/gnutls_x509_crt_import.3.html
gnutls_x509_crt_import(3) - API function - Linux man page...
This function will convert the given DER or PEM encoded Certificate to the native gnutls_x509_crt_t format. The output will be stored in cert. If the Certificat

manpages/XRectInRegion.3.html
XRectInRegion(3) - determine if regions are empty or equal
The XEmptyRegion function returns True if the region is empty. The XEqualRegion function returns True if the two regions have the same offset, size, and shape.

manpages/tee.1.html
tee(1) - read from standard input and write to standard outp
Copy standard input to each FILE, and also to standard output. -a, --append append to the given FILEs, do not overwrite -i, --ignore-interrupts ignore interrupt

manpages/lss16toppm.1.html
lss16toppm(1) Convert an LSS-16 image to PPM (Man Page).....
This manual page documents briefly the lss16toppm command. The lss16toppm utility converts an LSS-16 image to a PPM image. OPTIONS A summary of options is inclu

manpages/aligned_alloc.3.html
aligned_alloc(3) allocate aligned memory - Linux man page...
The function posix_memalign() allocates size bytes and places the address of the allocated memory in *memptr. The address of the allocated memory will be a mult

manpages/uwildmat.3.html
uwildmat(3) - Perform wildmat matching - Linux manual page
uwildmat compares text against the wildmat expression pattern, returning true if and only if the expression matches the text. @ has no special meaning in patter

manpages/termios.3.html
termios(3) - get and set terminal attributes, line control,
The termios functions describe a general terminal interface that is provided to control asynchronous communications ports. The termios structure Many of the fun

manpages/Tcl_GetEnsembleNamespace.3.html
Tcl_GetEnsembleNamespace(3) - manipulate ensemble commands
An ensemble is a command, bound to some namespace, which consists of a collection of subcommands implemented by other Tcl commands. The first argument to the en





We can't live, work or learn in freedom unless the software we use is free.