Re: Operations permitted on a pipe

Steffen Grunewald (steffen@gfz-potsdam.de)
Mon, 20 Sep 1999 19:56:58 +0200 (MET DST)


=?iso-8859-1?Q?J=F6rg?= Pleumann:
>
> Hello,
>
> I'd like to know which file operations are permitted on a pipe created
> by the corresponding system call: Is it possible (and legal) to get the
> number of bytes in the pipe using lseek and is there a way to peek into
> the pipe? Is the pipe disposed when one of the two handles is closed,
> and what is the state of the other handle then?

Look into Stevens' wonderful book, it has a chapter on pipes and what
to do (and not to do) with them.
Of course there's a man page for lseek, too...

Steffen

-- 
Steffen Grunewald = steffen(at)gfz-potsdam.de = fax +49-331-288-1266
My opinions are mine. You can rent them. Just ask me for prices  :-)
"Art is a lie which makes us realize the truth"   -    Pablo Picasso

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/