DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦454308d78⟧ TextFile

    Length: 1258 (0x4ea)
    Types: TextFile
    Notes: UNIX file
    Names: »kill.2«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/man/man2/kill.2« 

TextFile

.ig
	@(#)kill.2	2.1	7/1/84
	@(#)Copyright (C) 1983 by National Semiconductor Corp.
..
.TH KILL 2
.SH NAME
kill \- send signal to a process
.SH SYNOPSIS
.B kill(pid, sig)
.SH DESCRIPTION
.I Kill
sends the signal
.I sig
to the process specified by the
process number
.I pid.
See
.IR sigsys (2)
for a list of signals.
.PP
The sending and receiving processes must
have the same effective user ID, otherwise
this call is restricted to the super-user.
(A single exception is the signal SIGCONT which may be sent
as described in
.IR killpg (2),
although it is usually sent using
.I killpg
rather than
.IR kill ).
.PP
If the process number is 0,
the signal is sent to all other processes in the
sender's process group;
see
.IR tty (4)
and also
.IR killpg (2).
.PP
If the process number is \-1, and the user is the super-user,
the signal is broadcast universally
except to processes 0, 1, 2, the scheduler
initialization, 
and the process sending the signal.
.PP
Processes may send signals to themselves.
.SH "SEE ALSO"
sigsys(2), signal(2), kill(1), killpg(2), init(8)
.SH 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.