Copyright (c) 1990 The Regents of the University of California.
All rights reserved.
%sccs.include.redist.man%
@(#)raise.3 5.1 (Berkeley) 02/19/91
All rights reserved.
%sccs.include.redist.man%
@(#)raise.3 5.1 (Berkeley) 02/19/91
RAISE 3 ""
C 7 NAME
raise - send a signal to the current process
SYNOPSIS
int raise(int sig);
DESCRIPTION
The
raise function sends the signal
sig to the current process.
RETURNS
Upon successful completion, a value of 0 is returned.
Otherwise, a value of -1 is returned and
errno is set to indicate the error.
ERRORS
Raise may fail and set
errno for any of the errors specified for the library function
getpid(2) and
kill(2). SEE ALSO
kill(2)
STANDARDS
Raise conforms to ANSI X3.159-1989 (``ANSI C'').