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  

c4/pginfo.c File Reference


Detailed Description

Display session- and process-group-related information [Sec. 4.3.5].

Definition in file pginfo.c.

Go to the source code of this file.

Functions

void showpginfo (const char *msg)
void catchsig (int signo)
int main (void)


Function Documentation

void catchsig int  signo  )  [static]
 

Definition at line 53 of file pginfo.c.

References showpginfo().

Referenced by main().

int main void   ) 
 

Definition at line 59 of file pginfo.c.

References catchsig(), EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, exit(), sigaction::sa_handler, showpginfo(), sigaction(), and sleep().

void showpginfo const char *  msg  )  [static]
 

Definition at line 26 of file pginfo.c.

References close(), EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FLUSH, ec_neg1, getpgid(), getpid(), getppid(), getsid(), open(), tcgetpgrp(), and tcgetsid().

Referenced by catchsig(), and main().


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