.\" Hey Emacs! This file is -*- nroff -*- source. .\" .\" Copyright (c) 1992 Drew Eckhardt (drew@cs.colorado.edu), March 28, 1992 .\" .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" .\" Modified by Michael Haardt (michael@moria.de) .\" Modified by Thomas Koenig (ig25@rz.uni-karlsruhe.de) .\" Modified Fri Jul 23 21:51:36 1993 by Rik Faith (faith@cs.unc.edu) .\" Modified Sun Jul 25 10:53:24 1993 by Rik Faith (faith@cs.unc.edu) .\" Modified Wed Nov 01 18:56:43 1995 by Michael Haardt .\" (michael@cantor.informatik.rwth-aachen.de) .\" Modified Sun Apr 14 17:04:32 1996 by Andries Brouwer (aeb@cwi.nl) .\" [added some polishing contributed by Mike Battersby (mib@deakin.edu.au)] .\" Modified Sun Jul 21 21:25:26 1996 by Andries Brouwer (aeb@cwi.nl) .\" Modified Fri Jan 17 23:49:46 1997 by Andries Brouwer (aeb@cwi.nl) .\" .TH KILL 2 "14 September 1997" "Linux 2.0.30" "Linux Programmeurs Handleiding" .SH NAAM kill \- zend een signaal naar een proces .SH OVERZICHT .nf .B #include .br .B #include .sp .BI "int kill(pid_t " pid ", int " sig ); .fi .SH BESCHRIJVING De .B kill systeem aanroep kan gebruikt worden om elk signaal naar elke proces groep of proces te zenden. .PP Als \fIpid\fP positief is, dan wordt het signaal \fIsig\fP naar \fPpid\fP gezonden. .PP Als \fIpid\fP gelijk is aan 0, dan wordt \fIsig\fP naar elk proces gezonden in de proces groep van het huidige proces. .PP Als \fIpid\fP gelijk is aan \-1 dan wordt \fIsig\fP naar elk proces in de proces groep gezonden behalve het eerste, gemeten van hogere nummers in de proces tabel naar lagere. .PP Als \fIpid\fP kleiner is dan \-1 dan wordt \fIsig\fP gezonden naar elk proces in de proces groep \fI\-pid\fP. .PP Als \fIsig\fP 0 is dan wordt geen signaal gezonden, maar fout-testen wordt nog steeds uitgevoerd. .SH "TERUGGEEF WAARDE" Bij success wordt nul teruggegeven. Bij falen wordt \-1 teruggegeven, en .I errno wordt naar behoren gezet. .SH FOUTEN .TP .B EINVAL {ongeldig} Een ongeldig signaal werd opgegeven. .TP .B ESRCH {zoek} De pid of proces-groep bestaat niet. Merk op dat een bestaand proces een zombie kan zijn, een proces dat al bedoeld is te eindigen, maar waar nog niet op ge\fBwait()\fPd {gewacht} wordt. .TP .B EPERM {toestemming} Het proces heeft geen toestemming om een signaal naar welk ontvangend proces dan ook te zenden. Als een proces toestemming wil hebben om een signaal naar proces .I pid te zenden, moet het root priviliges hebben, of het echte of geldende gebruiker ID van het zendende proces moeten gelijk zijn aan de echte of bewaarde zet-gebruiker-ID van het ontvangende proces. .SH "BUGS" Het is onmogelijk om een signaal naar taak nummen 1 te zenden, het "init" {begin} proces, waar het geen signaal behandelaar heeft voor ingesteld. Dit is gedaan om er verzekerd van te zijn dat het systeem niet per ongeluk uitgeschakeld wordt .SH "VOLDOET AAN" SVr4, SVID, POSIX.1, X/OPEN, BSD 4.3 .SH "ZIE" .BR _exit "(2) {_ uitgang}," .BR exit "(3) {uitgang}," .BR signal "(2) {signaal}," .BR signal "(7) {signaal}" .\" Translated Fri Nov 10 11:38:29 CET 2000 by Jos Boersema .\" .SH VERTALING Dit is een handleiding uit \fBmanpages-dev 1.29\fR. .\"{kill (eng)->(nl) vermoord} .\"{signal handler -> signaal behandelaar} Alles wat tussen `\fB{\fR'..`\fB}\fR' staat is \fBaanvullende vertaling\fR, en hoort \fBniet\fR bij de originele handleiding. .\" .\"Vertaling Jos Boersema .\" Email naar . $Id: kill.2,v 1.1 2003/04/28 18:43:34 bokkie Exp $