PREV INDEX NEXT

Author: Unknown
Subject: Pipe
Date: Friday, 13 Nov 2020, 20:53:41

Also, in the ls | wc -l example from class, why does ls have to write to 1 and wc read from 0. Can they not just read from fd[0] and fd[1]. 

As a followup to this, does the pipe() command which takes in some int fd[2] assign values to fd at the system level and keep track of it also?
PREV INDEX NEXT