DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

raise(S)


raise -- send signal to program

Synopsis

   #include <signal.h>
   

int raise (int sig);

Description

raise sends the signal sig to the executing program.

raise uses kill to send the signal to the executing program:

   kill(getpid(), sig);

See kill(S) for a detailed list of failure conditions. See signal(S) for a list of signals.

Return values

raise returns zero if the operation succeeds. Otherwise, raise returns -1 and errno is set to indicate the error.

References

getpid(S), kill(S), signal(S)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005