Sujet : Pipes v. FIFOs (was: Are We Back to the "Wars" Now ?)
De : geoff (at) *nospam* clare.See-My-Signature.invalid (Geoff Clare)
Groupes : comp.os.linux.miscDate : 26. Nov 2024, 15:21:21
Autres entêtes
Message-ID : <142h1l-92h.ln1@ID-313840.user.individual.net>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : Pan/0.154 (Izium; 517acf4)
Rich wrote:
The only 'filesystem' access for named pipes is during the
open() call to look up the name from the filesystem. Once you get the
file descriptor back, it is the exact same in-memory FIFO queue as an
anonymous pipe created via pipe() (at least on Linux).
POSIX requires that pipes and FIFOs behave identically once you have a
file descriptor. This is how it defines the term "pipe":
An object identical to a FIFO which has no links in the file hierarchy.
-- Geoff Clare <netnews@gclare.org.uk>