Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9235499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:03:13+00:00 2026-06-18T07:03:13+00:00

Many articles on the internet use the Standard Input/Output/Error Stream term as if each

  • 0

Many articles on the internet use the “Standard Input/Output/Error Stream” term as if each of the term has the same meaning with the “Standard Input/Output/Error Device” term used on other articles. For example, many articles say that the Standard Output Stream is the monitor by default but can be redirected to a file, printer, or other devices.

Let’s take the standard output as the example:

  1. What is the difference between the standard output stream and the standard output device? If there is one, what is the relation between them?

    Quoted from the help page of GetStdHandle(),

    “The standard handles of a process may be redirected by a call to SetStdHandle, in which case GetStdHandle returns the redirected handle.”

  2. Which one is redirected actually, the standard output stream or the standard output device?

  3. Does each process has its own standard streams?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T07:03:14+00:00Added an answer on June 18, 2026 at 7:03 am

    An output device is some logical entity to which data can be written.

    An output stream is a connection to an output device.

    In a process, you have a standard output stream, which is connected to your standard output device. That means writing data to your standard output stream will output it to the standard output device. Of course, you can actually change to which device the stream is bound after the process has started.

    To answer your last question, the answer is yes, each process has its own standard stream. Which device this actually maps to depends on the operating system and how the process was started. As an example, any process started directly from the console in Linux or Windows has its standard output stream linked to that console by default. However, this stream can be redirected by using either “>” to refer to a hardware device or file, or by “piping”, which can be used to make a series of programs redirect their standard output streams to each other.

    For example:
    echo hi > example.txt would start the program “echo” with argument “hi” and set the standard output stream to the file “example.txt”.

    Analogously, each process also has a standard input stream and a standard error (output) stream.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have found many questions here on SO and articles all over the internet
Many articles on KMP mention that the failure function in KMP itself has a
I read so many articles out there in the internet and found that to
I know there are many questions and articles discussing this issue on the internet,
if a User has many articles and these articles belong to a user. Then
I'm finding many articles on the web where it is implied that you can
I have come across many articles which warn against using links to provide logout
there are many articles for window and tab close detection, however, since the newest
I have seen many articles about POCO. What is this?
I have seen many articles and Questions/Answers Regarding Lock Escalation but following things are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.