lkml.org 
[lkml]   [1996]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Question about pipe implementation
Date
> My initial reason for asking this is that one of my professors was saying 
> that he had this program in FreeBSD that worked great(pipes "backwards"),
> and when he tried to port it to Linux it wouldn't work anymore.
> Therefore, he concluded, Linux does not have bi-directional pipes.

Correct. The fact most BSD boxes have bidirectional pipes is a side effect
of them using socketpair to generate pipes. Its not something thats
standards guaranteed or portable as an assumption.

Alan


\
 
 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2011 Jasper Spaans