File: pvm_kill.man

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (43 lines) | stat: -rw-r--r-- 1,000 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.TH pvm_kill 1 "January 1998" "Scilab // Group" "Scilab function"
.so ../sci.an
.SH NAME
pvm_kill -  Terminates a specified PVM process.
.SH CALLING SEQUENCE
.nf
[infos] = pvm_kill(tids)
.fi
.SH PARAMETERS
.TP 5
tids
: row of integer, task identifier of the PVM process to be killed
(not yourself).
.TP 4
infos
: row of integer, status code returned by the routine.
Values less than zero indicate an error.
.SH DESCRIPTION
\fVpvm_kill\fR 
sends a terminate (SIGTERM) signal
to the PVM process identified by
.I tids.
In the case of multiprocessors the terminate signal is replaced
with a host dependent method for killing a process.
If pvm_kill is successful,


The array
.I infos
can be checked to determine the status for each process.
Values less than zero indicate an error,
while zero values indicate a success.
.PP
pvm_kill is not designed to kill the calling process.
To kill yourself in C call pvm_exit() followed by quit().

.SH EXAMPLE
.nf
info = pvm_kill(262153)
.fi

.SH SEE ALSO
pvm_exit