send a signal to a process
int proc_signal(void *pref, int sig);
The proc_signal function can be used
to post a signal to the process represented by pref.
This will interrupt any process blocked in
at the time the signal is posted,
causing those functions to return prematurely in most cases.
If the process has exited then this function has no effect.
Identifier obtained by a previous call to
Signal number to be sent.
If the process still exists, 0 is returned.
Otherwise, -1 is returned to indicate that
the process no longer exists.
Valid signal numbers are listed in
STREAMS drivers and modules should not use this mechanism
for signaling processes.
Instead, they can send
STREAMS messages to the stream head.
must not be used to send SIGTSTP to a process.
Context and synchronization
Non-blockable, interrupt, user, or blockable
3, 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp
SCO OpenServer ODDI compatibility
SCO OpenServer ODDI does not support an equivalent function.
function is used to send a signal to a process group;
all processes in that group that are blocked by a
call at a priority greater than PZERO.
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005