Is stdout a file in Linux?

Thành Đạt

New member
Is stdout a file in Linux?
Answer
Streams Are Handled Like Files
Streams in Linux—like almost everything else—are treated as though they were files. … Whenever an action is required to be performed on a file, the file descriptor is used to identify the file. These values are always used for stdin , stdout, and stderr : 0: stdin.
 

Tìm kiếm

Back
Top