Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

Unix Version 7 - man page for kill (v7 section 2)

KILL(2) 			       System Calls Manual				  KILL(2)

NAME
       kill  -	send signal to a process

SYNOPSIS
       kill(pid, sig);

DESCRIPTION
       Kill  sends the signal sig to the process specified by the process number in r0.  See sig-
       nal(2) for a list of signals.

       The sending and receiving processes must have the same effective user ID,  otherwise  this
       call is restricted to the super-user.

       If  the	process  number  is  0, the signal is sent to all other processes in the sender's
       process group; see tty(4).

       If the process number is -1, and the user is the super-user, the signal is broadcast  uni-
       versally  except  to  processes	0  and 1, the scheduler and initialization processes, see
       init(8).

       Processes may send signals to themselves.

SEE ALSO
       signal(2), kill(1)

DIAGNOSTICS
       Zero is returned if the process is killed; -1 is returned if the process does not have the
       same effective user ID and the user is not super-user, or if the process does not exist.

ASSEMBLER
       (kill = 37.)
       (process number in r0)
       sys kill; sig

											  KILL(2)


All times are GMT -4. The time now is 06:11 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password