I am reading the documentation of pipe function and I have encountered this
pipe() creates a pipe, a unidirectional data channel that can be used for interprocess communication
But it returns two file descriptors. One for reading and one for writing. What am I missing?