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/pcsync_sig.h File Reference


Detailed Description

header for above [Sec. 6.2, 9.2.3 (not in book)]

Definition in file pcsync_sig.h.

Go to the source code of this file.

Compounds

struct  pcsync

Functions

bool pcsync_init (struct pcsync *p)
bool pcsync_wait_for_parent (struct pcsync *p)
bool pcsync_unblock_children (struct pcsync *p, int children, pid_t *pid_child)
bool pcsync_end (struct pcsync *p)


Function Documentation

bool pcsync_end struct pcsync p  ) 
 

Definition at line 76 of file pcsync.c.

References close(), pcsync::fdcp, and pcsync::fdpc.

bool pcsync_init struct pcsync p  ) 
 

Definition at line 24 of file pcsync.c.

References EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, pcsync::fdcp, pcsync::fdpc, pcsync::old_set, pipe(), set(), sigaddset(), sigemptyset(), and sigprocmask().

bool pcsync_unblock_children struct pcsync p,
int  children,
pid_t *  pid_child
 

Definition at line 52 of file pcsync.c.

References EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, ec_neg1, errno, pcsync::fdcp, pcsync::fdpc, kill(), pcsync::old_set, read(), sigprocmask(), and write().

bool pcsync_wait_for_parent struct pcsync p  ) 
 

Definition at line 35 of file pcsync.c.

References EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, ec_neg1, errno, FD_SET(), FD_ZERO(), pcsync::fdcp, pcsync::fdpc, pcsync::old_set, sigaction::sa_handler, select(), sigaction(), sigdelset(), sigfillset(), signal_handler_child(), sigprocmask(), sigsuspend(), and write().


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