DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Signals, job control and pipes

Sending signals

A process can send a signal to another process or group of processes using either kill(2) or sigsend(2):

kill(pid, signo);
	int pid, signo;
sigsend(idtype, id, signo);
	idtype_t idtype;
	id_t id;
Unless the process sending the signal is privileged, its real or effective user- ID must be equal to the receiving process's real or saved user-ID.

A process can send a signal to itself using the function raise as follows (see raise(3C)):

raise ( int sig_val );
Signals can also be sent from a terminal device to the process group or session leader associated with the terminal (see termio(7)).
Next topic: Job control and session management
Previous topic: Signal stacks

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004