2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

c9/slp-simple.c File Reference


Detailed Description

sleep implementation using alarm (naive) [Sec. 9.7.2]

Definition in file slp-simple.c.

Go to the source code of this file.

Functions

void slp_handler (int signum)
unsigned aup_sleep (unsigned secs)
int main (void)


Function Documentation

unsigned aup_sleep unsigned  secs  ) 
 

Definition at line 28 of file slp-simple.c.

References alarm(), EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FLUSH, ec_neg1, pause(), sigaction::sa_handler, sigaction(), and slp_handler().

int main void   ) 
 

Definition at line 47 of file slp-simple.c.

References aup_sleep(), exit(), and time().

void slp_handler int  signum  )  [static]
 

Definition at line 24 of file slp-simple.c.

Referenced by aup_sleep().


Generated on Fri Apr 23 10:57:11 2004 for AUP2 Example Source by doxygen 1.3.1