about summary refs log tree commit diff
path: root/doc/s6-ftrig-notify.html
blob: a846b977c07bf317ece0c6dee0b12deaf4b236e9 (plain) (blame)
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
44
45
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Content-Language" content="en" />
    <title>s6: the s6-ftrig-notify program</title>
    <meta name="Description" content="s6: the s6-ftrig-notify program" />
    <meta name="Keywords" content="s6 command s6-ftrig-notify fifodir notification event notifier send" />
    <!-- <link rel="stylesheet" type="text/css" href="//skarnet.org/default.css" /> -->
  </head>
<body>

<p>
<a href="index.html">s6</a><br />
<a href="//skarnet.org/software/">Software</a><br />
<a href="//skarnet.org/">skarnet.org</a>
</p>

<h1> The s6-ftrig-notify program </h1>

<p>
s6-ftrig-notify sends a series of events to a <a href="fifodir.html">fifodir</a>.
</p>

<h2> Interface </h2>

<pre>
     s6-ftrig-notify <em>fifodir</em> <em>message</em>
</pre>

<p>
s6-ftrig-notify notifies all the current listeners in <em>fifodir</em>
with all the characters in <em>message</em>.
</p>

<h2> Notes </h2>

<p>
s6-ftrig-notify cannot be used to send the null character (event 0x00).
If you need to send the null character, use the C API:
<a href="libs6/ftrigw.html">ftrigw_notify()</a>.
</p>

</body>
</html>