lkml.org 
[lkml]   [1999]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Operations permitted on a pipe
Date
=?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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.078 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site