*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> atsproc (3c)              
Title
Content
Arch
Section
 

Contents


atsproc(3C)							   atsproc(3C)


NAME    [Toc]    [Back]

     atsproc_child, atsproc_parent, atsproc_pre	- add sproc pre	and post
     interception routines

SYNOPSIS    [Toc]    [Back]

     #include <unistd.h>

     int atsproc_child (void (*func)(void));

     int atsproc_parent	(void (*func)(int errno,int pid));

     int atsproc_pre (void (*func)(unsigned int	mask));

DESCRIPTION    [Toc]    [Back]

     atsproc_child adds	the function func to a list of functions to be called
     without arguments on entry	of a child process created by sproc(2).	 At
     most 32 functions may be registered by atsproc_child; the functions will
     be	called in the same order as their registration.

     atsproc_parent adds the function func to a	list of	functions to be	called
     with two integer arguments	after calling sproc(2).	 At most 32 functions
     may be registered by atsproc_parent; the functions	will be	called in the
     same order	as their registration.

     atsproc_pre adds the function func	to a list of functions to be called
     with one unsigned integer argument	just preceeding	a call to sproc(2).
     At	most 32	functions may be registered by atsproc_child; the functions
     will be called in the reverse order as their registration.

     atsproc_child, atsproc_parent, and	atsproc_pre all	return 0 if the
     registration succeeds. Otherwise, a value of -1 is	returned and errno is
     set to indicate the error.

SEE ALSO    [Toc]    [Back]

      
      
     sproc(2).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
atfork IRIX add fork pre and post interception routines
pgsignal NetBSD post signal to a process
gsignal NetBSD post signal to a process
psignal OpenBSD post signal to a process
popup IRIX Post a popup menu
pgsignal OpenBSD post signal to a process
klogpp IRIX kernel /dev/log post-processor
psignal NetBSD post signal to a process
gsignal OpenBSD post signal to a process
menu_post NetBSD post (draw) or unpost a menu
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service