©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  

c7/semtest.c File Reference

Go to the source code of this file.

Defines

#define SEMFILE   "/testsem"

Functions

int main (void)


Define Documentation

#define SEMFILE   "/testsem"
 

Definition at line 4 of file semtest.c.

Referenced by main().


Function Documentation

int main void   ) 
 

Definition at line 6 of file semtest.c.

References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_cmp, ec_neg1, exit(), fork(), kill(), sem_getvalue(), sem_open(), sem_post(), sem_t, sem_unlink(), sem_wait(), SEMFILE, sleep(), val, and waitpid().


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