The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] Pipes as temp. files
@ 2018-02-23  1:10 Dave Horsfall
  0 siblings, 0 replies; only message in thread
From: Dave Horsfall @ 2018-02-23  1:10 UTC (permalink / raw)


Just curious; am I the only who, back in the early days of V6, used pipes 
as temporary files?  I mean that after calling pipe(), instead of then 
forking and playing "file-descriptor footsie" you just read and wrote 
within the same process.

I seem to recall that it worked, as long as you avoided the 8-block limit 
(or whatever it was then); I have no idea why I tried it, other than to 
see if it worked i.e. avoid the creat() (without the "e") etc.

-- 
Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-23  1:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-23  1:10 [TUHS] Pipes as temp. files Dave Horsfall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).