Query: sia_timed_action
OS: osf1
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
sia_timed_action(3) Library Functions Manual sia_timed_action(3)NAMEsia_timed_action - Time limit routine - SIA (Security Integration Architecture)LIBRARYStandard C library (libc.so and libc.a)SYNOPSIS#include <siad.h> int sia_timed_action( int *(action)(), void *params, time_t timeout);PARAMETERSaction() This parameter is a function pointer to the action being timed. params The parameters to the function specified with the action() parameter. timeout The maximum time in seconds allowed for the action.DESCRIPTIONThe sia_timed_action() routine provides a way to call a function with a time limit and signal protection. If SIGHUP, SIGINT, SIGQUIT, SIGTERM, or SIGALRM is received, sia_timed_action() fails.RETURN VALUESThe sia_timed_action() routine returns SIAFAIL if a SIGHUP, SIGINT, SIGQUIT, SIGTERM, or SIGALRM signal is received or if a timeout occurs. Otherwise, the return value from the action() call is returned.ERRORSThe errno value is not (normally) set explicitly by sia_* routines. The errno values are those returned from the dynamic loader interface, from dependent (siad_*) routines, or from malloc. Possible errors include resource constraints (no memory) and various authentication failures.FILES/etc/passwd /etc/sia/matrix.confRELATED INFORMATIONsigaction(2), sigprocmask(2), siglongjmp(3), sigsetjmp(3) Security delim off sia_timed_action(3)
Related Man Pages |
---|
sia_chdir(3) - osf1 |
sia_chg_password(3) - osf1 |
sia_collect_trm(3) - osf1 |
siad_chk_invoker(3) - osf1 |
siad_chk_user(3) - osf1 |
Similar Topics in the Unix Linux Community |
---|
Problem with handling SIGINT |
Signal Processing in unix |
SIGINT issue |