1KILL(3PVM) PVM Version 3.4 KILL(3PVM)
2
3
4
6 pvm_kill - Terminates a specified PVM process.
7
8
10 C int info = pvm_kill( int tid )
11
12 Fortran call pvmfkill( tid, info )
13
14
16 tid Integer task identifier of the PVM process to be killed (not
17 yourself).
18
19 info Integer status code returned by the routine. Values less than
20 zero indicate an error.
21
22
24 The routine pvm_kill sends a terminate (SIGTERM) signal to the PVM
25 process identified by tid. In the case of multiprocessors the termiā
26 nate signal is replaced with a host dependent method for killing a
27 process. If pvm_kill is successful, info will be 0. If some error
28 occurs then info will be < 0.
29
30 pvm_kill is not designed to kill the calling process. To kill yourself
31 in C call pvm_exit() followed by exit(). To kill yourself in Fortran
32 call pvmfexit followed by stop.
33
34
36 C:
37 info = pvm_kill( tid );
38
39 Fortran:
40 CALL PVMFKILL( TID, INFO )
41
42
44 These error conditions can be returned by pvm_kill
45
46 PvmBadParam
47 giving an invalid tid value.
48
49 PvmSysErr
50 pvmd not responding.
51
53 pvm_exit(3PVM), pvm_halt(3PVM)
54
55
56
57 30 August, 1993 KILL(3PVM)