sia_timed_action man page on DigitalUNIX

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

sia_timed_action(3)					   sia_timed_action(3)

NAME
       sia_timed_action	 -  Time  limit	 routine  -  SIA (Security Integration
       Architecture)

SYNOPSIS
       #include <siad.h>

       int sia_timed_action(
	       int *(action)(),
	       void  *params,
	       time_t timeout );

LIBRARY
       Standard C library (libc.so and libc.a)

PARAMETERS
       This parameter is a function pointer to the action  being  timed.   The
       parameters  to the function specified with the action() parameter.  The
       maximum time in seconds allowed for the action.

DESCRIPTION
       The 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 VALUES
       The 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.

ERRORS
       The 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.conf

SEE ALSO
       sigaction(2), sigprocmask(2), siglongjmp(3), sigsetjmp(3)

       Security

							   sia_timed_action(3)
[top]

List of man pages available for DigitalUNIX

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