[lkml]   [1996]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Question about pipe implementation
> 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.


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