BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

ksignal - khoros signal handler

LIBRARY CALL

void (*ksignal(
   int signo,
   void (*sigfunc)(int)))(int)

INPUT

OUTPUT

none

RETURN VALUE

the previously installed signal handler on success, SIG_ERR on failure

DESCRIPTION

This routine is a replacement for the UNIX signal() handler. The problem with UNIX signal() is that under SVR4 signal() provedes the older, unreliable signal semantics.

The

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

PH 1/15/97: Added special handling for SIGCHLD/SIG_IGN

FILES

$BOOTSTRAP/objects/library/kutils/src/kprocess.c

SEE ALSO

kutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.