Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpid(2)

kill(2)

signal(3C)

raise(3C)

NAME

raise − send signal to program

SYNOPSIS

#include <signal.h>

int raise(int sig);

MT-LEVEL

MT-Safe

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(2) for a detailed list of failure conditions.  See signal(3C) 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. 

SEE ALSO

getpid(2), kill(2), signal(3C)

SunOS 5.5/SPARC  —  Last change: 22 Jan 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026