Michael C. Toren on 31 Oct 2006 20:29:40 -0000 |
On Tue, Oct 31, 2006 at 03:15:29PM -0500, gabriel rosenkoetter wrote: > It depends on your shell. > > POSIX doesn't have any MUST or even SHOULD statements wrt buffered > I/O in pipelines, and shells are free to do whatever they like. This is independent of the shell. The shell is responsible for creating the pipe(2) and dup(2)ing the file descriptors to coordinate things such that stdout of one process is connected to stdin of another, but it doesn't have anything to do with configuring buffering. Buffering happens at the "file handle" or "stream" level (in user-space), not at the file descriptor level (in kernel-space). -mct ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|