On Linux (2.6.35-22-generic), the man pipe says that
pipe () creates a pipe, a one-way data channel that can be used for interprocess communication.
In FreeBSD (6.3-RELEASE-p5), the man pipe states that
The pipe () system call creates a pipe, which is an object that provides a bi-directional data stream, and allocates a couple of file descriptors. "
One is unidirectional, the other is bidirectional. I hope this is not a stupid question, but which method is the standard way? Are they POSIX compatible?
To make my intentions clear, I lost some points in the exam to believe that the pipe () was one of the ways, and I am looking for some ammunition to get some points; p
linux posix pipe freebsd
Joseph
source share