.\" 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 .\" .TH RAISE 3 "" .UC 7 .SH NAME raise \- send a signal to the current process .SH SYNOPSIS int raise(int sig); .SH DESCRIPTION The .I raise function sends the signal .I sig to the current process. .SH RETURNS Upon successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned and .I errno is set to indicate the error. .SH ERRORS .I Raise may fail and set .I errno for any of the errors specified for the library function .IR getpid(2) and .IR kill(2). .SH SEE ALSO kill(2) .SH STANDARDS .I Raise conforms to ANSI X3.159-1989 (``ANSI C'').