summaryrefslogtreecommitdiff
path: root/doc/seekablepipe.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-01-15 19:20:48 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-01-15 19:20:48 +0000
commit1367418899513629d1994894143eb37b9048c850 (patch)
tree5447b0b110a174215e0837595a6aca16fb738acf /doc/seekablepipe.html
parent051f0f15b39cfaa198e833dd6b6f1bd7c69ec4eb (diff)
downloads6-portable-utils-1367418899513629d1994894143eb37b9048c850.tar.xz
- Move seekablepipe from s6-networking to here
- Version tag: 2.0.1.0, release candidate
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>