About 124,000 results
Open links in new tab
  1. Confused about stdin, stdout and stderr? - Stack Overflow

    Aug 2, 2010 · I am rather confused with the purpose of these three files. If my understanding is correct, stdin is the file in which a program writes into its requests to run a task in the process, stdout is the …

  2. Standard streams - Wikipedia

    File pointers stdin, stdout, and stderr are also provided. Ken Thompson (designer and implementer of the original Unix operating system) modified sort in Version 5 Unix to accept "-" as representing …

  3. What Are stdin, stdout, and stderr on Linux? - How-To Geek

    Oct 14, 2023 · Mystified by stdin, stdout and stderr? Learn to use them in your Linux scripts.

  4. How to Redirect Output to a File and stdout - GeeksforGeeks

    Jul 23, 2025 · stdout (standard output) is the default output stream where programs send their results. Normally, stdout displays output on the terminal, but it can be redirected to a file or another command.

  5. stdin, stdout, stderr | Microsoft Learn

    Jul 25, 2023 · Some functions, such as getchar and putchar, use stdin and stdout automatically. These pointers are constants, and can't be assigned new values. The freopen function can be used to …

  6. stdout (3): standard I/O streams - Linux man page

    Since the symbols stdin, stdout, and stderr are specified to be macros, assigning to them is nonportable. The standard streams can be made to refer to different files with help of the library function freopen …

  7. What Is Stdout? - Computer Hope

    Feb 22, 2026 · Meaning of stdout, or standard output, which is the default file descriptor for process output in Unix-like operating systems. Its role in command pipelines.

  8. Mastering Linux I/O: Understanding `stdin`, `stdout`, and `stderr`

    Dec 22, 2025 · Conclusion stdin, stdout, and stderr are essential concepts in Linux that enable programs to interact with users and each other. By understanding their fundamental concepts, usage methods, …

  9. stdin, stdout, stderr - cppreference.com

    stdin, stdout, stderr ... Three text streams are predefined. These streams are implicitly opened and unoriented at program startup.

  10. Confused About stdin, stdout, and stderr? Demystifying Their Purpose ...

    Jan 16, 2026 · stdin, stdout, and stderr are the unsung heroes of command-line programming. By separating input, normal output, and diagnostic output, they enable powerful workflows like …