atsproc_pre man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



atsproc(3C)							   atsproc(3C)

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

SYNOPSIS
     #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
     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
     sproc(2).

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net