Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Standard streams
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Connected input and output streams for computer programs}} {{About|standard I/O file descriptors|System V streams|STREAMS}} In [[computer programming]], '''standard streams''' are preconnected input and output [[communication channel]]s<ref>D. M. Ritchie, [https://cseweb.ucsd.edu/classes/fa01/cse221/papers/ritchie-stream-io-belllabs84.pdf "A Stream Input-Output System"], AT&T Bell Laboratories Technical Journal, 68(8), October 1984.</ref> between a computer program and its environment when it begins execution. The three [[input/output]] (I/O) connections are called '''standard input''' ('''stdin'''), '''standard output''' ('''stdout''') and '''standard error''' ('''stderr'''). Originally I/O happened via a physically connected [[system console]] (input via keyboard, output via monitor), but standard streams abstract this. When a command is executed via an interactive [[Shell (computing)|shell]], the streams are typically connected to the [[text terminal]] on which the shell is running, but can be changed with [[Redirection (computing)|redirection]] or a [[Pipeline (Unix)|pipeline]]. More generally, a [[child process]] inherits the standard streams of its [[parent process]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)