Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

FAQ Where does System.out and System.err output go

Revision as of 14:54, 1 May 2011 by Unnamed Poltroon (Talk) (New page: == Short answer == *System.out goes to stdout (file descriptor 1) * == A UNIX computer (including clones like Linux, BSD) users file descriptors to define the input and output streams. T...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Short answer

  • System.out goes to stdout (file descriptor 1)

A UNIX computer (including clones like Linux, BSD) users file descriptors to define the input and output streams. Three of them are hardcoded by the system and fixed:

stdin - the standard input stream has file descriptor 0 stdout - the standard output stream has file descriptor 1 stderr - the standard error stream has file descriptor 2

Back to the top