diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-15 19:20:48 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-15 19:20:48 +0000 |
commit | 1367418899513629d1994894143eb37b9048c850 (patch) | |
tree | 5447b0b110a174215e0837595a6aca16fb738acf /doc/seekablepipe.html | |
parent | 051f0f15b39cfaa198e833dd6b6f1bd7c69ec4eb (diff) | |
download | s6-portable-utils-1367418899513629d1994894143eb37b9048c850.tar.gz s6-portable-utils-1367418899513629d1994894143eb37b9048c850.tar.xz s6-portable-utils-1367418899513629d1994894143eb37b9048c850.zip |
- 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.html | 36 |
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> |