Penguin

Differences between current version and predecessor to the previous major change of idle(2).

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 2 Last edited on Tuesday, December 31, 2002 2:28:58 am by PerryLorier
Older page: version 1 Last edited on Monday, June 3, 2002 6:52:59 pm by perry Revert
@@ -1,56 +1,24 @@
-IDLE  
-!!!IDLE  
-NAME  
-SYNOPSIS  
-DESCRIPTION  
-RETURN VALUE  
-ERRORS  
-CONFORMING TO  
-NOTES  
-----  
 !!NAME 
+idle - make process 0 idle  
  
-  
-idle - make process 0 idle  
 !!SYNOPSIS 
  
-  
- __#include __  
-  
-  
-__int idle(void);__ 
+ __#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.  
  
-__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 super-user permission , will receive [EPERM]
  
-  
-Only process 0 may call __idle__. Any user process, even  
-a process with super-user permission, will receive  
-__EPERM__.  
 !!RETURN VALUE 
+idle(2) never returns for process 0, and always returns -1 for a user process.  
  
-  
-__idle__ never returns for process 0, and always returns  
--1 for a user process.  
 !!ERRORS 
+;[EPERM]: Always, for a user process.  
  
-  
-__EPERM__  
-  
-  
-Always, for a user process.  
 !!CONFORMING TO 
+This function is Linux-specific, and should not be used in programs intended to be portable.  
  
-  
-This function is Linux-specific, and should not be used in  
-programs intended to be portable.  
 !!NOTES 
-  
-  
- Since 2.3.13 this system call does not exist  
- anymore.  
-----  
+Since 2.3.13 this system call does not exist anymore. 
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.