summaryrefslogtreecommitdiff
path: root/doc/seekablepipe.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/seekablepipe.html')
-rw-r--r--doc/seekablepipe.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/seekablepipe.html b/doc/seekablepipe.html
new file mode 100644
index 0000000..e8fe453
--- /dev/null
+++ b/doc/seekablepipe.html
@@ -0,0 +1,36 @@
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="Content-Language" content="en" />
+ <title>s6-portable-utils: the seekablepipe program</title>
+ <meta name="Description" content="s6-portable-utils: the seekablepipe program" />
+ <meta name="Keywords" content="s6-portable-utils seekablepipe pipe seekablepipe-io" />
+ <!-- <link rel="stylesheet" type="text/css" href="http://skarnet.org/default.css" /> -->
+ </head>
+<body>
+
+<p>
+<a href="index.html">s6-portable-utils</a><br />
+<a href="http://skarnet.org/software/">Software</a><br />
+<a href="http://skarnet.org/">skarnet.org</a>
+</p>
+
+<h1> The <tt>seekablepipe</tt> program </h1>
+
+<tt>seekablepipe</tt> turns the reading end of a pipe into a seekable
+file descriptor, using a temporary file.
+
+<h2> Interface </h2>
+
+<pre>
+ <em>writer</em> | seekablepipe <em>tmpfile reader [ args ... ]</em>
+</pre>
+
+<p>
+<tt>seekablepipe</tt> writes <em>writer</em>'s output to <em>tmpfile</em>,
+which is unlinked as soon as it is created. Then it execs into
+<em>reader</em>, reading from a file descriptor on <em>tmpfile</em>.
+</p>
+
+</body>
+</html>