466
|
1 <refentry id="kill">
|
|
2 <refnamediv>
|
468
|
3 <refname>Kill</refname>
|
|
4 <refpurpose>send an interrupt to a task</refpurpose>
|
466
|
5 </refnamediv>
|
|
6
|
|
7 <refsynopsisdiv>
|
|
8 <funcsynopsis>
|
468
|
9 <funcsynopsisinfo>
|
|
10 #include <signal.h>
|
|
11 </funcsynopsisinfo>
|
466
|
12 <funcprototype>
|
|
13 <funcdef><function>kill</function></funcdef>
|
570
|
14 <paramdef>int <parameter>tid</parameter></paramdef>
|
|
15 <paramdef>int <parameter>interrupt</parameter></paramdef>
|
466
|
16 </funcprototype>
|
|
17 </funcsynopsis>
|
|
18
|
|
19 </refsynopsisdiv>
|
|
20
|
|
21 <refsect1><title>Description</title>
|
|
22 <para>
|
|
23 Placeholder
|
|
24 </para>
|
|
25 </refsect1>
|
542
|
26
|
552
|
27 <refsect1><title>Diagnostics</title>
|
|
28 <para>
|
|
29 Kill returns 0 from a successful call and -1 if the task does
|
|
30 not exist, the effective user ids do not match, or the user is
|
|
31 not the system manager.
|
|
32 </para>
|
|
33 </refsect1>
|
|
34
|
542
|
35 <refsect1><title>See Also</title>
|
|
36 <para>
|
|
37 <link linkend="signal">signal()</link>,
|
|
38 OS-9 shell command "kill"
|
|
39 </para>
|
|
40 </refsect1>
|
|
41
|
466
|
42 </refentry>
|