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  

c6/x6.c File Reference


Detailed Description

Miscellaneous examples for Chap. 6 [Chap. 6].

Definition in file x6.c.

Go to the source code of this file.

Functions

void pipetest (void)
void pipewrite (void)
void pipewrite2bug (void)
void pipewrite2 (void)
void who_wc (void)
void who_wc2 (void)
void fsort0 (void)
void fsort (void)
void fpathconf_test (void)
void pipe_access_mode (void)
int main (void)


Function Documentation

void fpathconf_test void   )  [static]
 

Definition at line 306 of file x6.c.

References EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, EC_FLUSH, ec_neg1, errno, fpathconf(), and pipe().

Referenced by main().

void fsort void   ) 
 

Definition at line 258 of file x6.c.

References close(), dup2(), EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, EC_FLUSH, ec_neg1, execlp(), fork(), open(), pipe(), read(), waitpid(), and write().

Referenced by main().

void fsort0 void   ) 
 

Definition at line 214 of file x6.c.

References close(), dup2(), EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, EC_FLUSH, ec_neg1, execlp(), fork(), open(), pipe(), read(), waitpid(), and write().

Referenced by main().

int main void   ) 
 

Definition at line 351 of file x6.c.

References exit(), fpathconf_test(), fsort(), fsort0(), pipe_access_mode(), pipetest(), pipewrite(), pipewrite2(), pipewrite2bug(), system(), who_wc(), and who_wc2().

void pipe_access_mode void   ) 
 

Definition at line 329 of file x6.c.

References EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FLUSH, ec_neg1, fcntl(), and pipe().

Referenced by main().

void pipetest void   ) 
 

Definition at line 25 of file x6.c.

References EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FLUSH, ec_neg1, pipe(), read(), and write().

Referenced by main().

void pipewrite void   ) 
 

Definition at line 47 of file x6.c.

References close(), EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, EC_FLUSH, ec_neg1, execlp(), fork(), pipe(), and write().

Referenced by main().

void pipewrite2 void   ) 
 

Definition at line 103 of file x6.c.

References close(), dup2(), EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, EC_FLUSH, ec_neg1, execlp(), fork(), pipe(), waitpid(), and write().

Referenced by main().

void pipewrite2bug void   ) 
 

Definition at line 74 of file x6.c.

References close(), dup2(), EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, EC_FLUSH, ec_neg1, execlp(), fork(), pipe(), waitpid(), and write().

Referenced by main().

void who_wc void   ) 
 

Definition at line 133 of file x6.c.

References close(), dup2(), EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, EC_FLUSH, ec_neg1, execlp(), fork(), pipe(), and waitpid().

Referenced by main().

void who_wc2 void   ) 
 

Definition at line 174 of file x6.c.

References close(), dup2(), EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, EC_FLUSH, ec_neg1, execlp(), fork(), pipe(), and waitpid().

Referenced by main().


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