Redirection (computing): Difference between revisions

Content deleted Content added
Off
Tags: Reverted Mobile edit Mobile web edit
Line 1:
{{distinguish|URL redirection}}
{{no footnotes|date=January 2017}}.{{Off}}
[[Image:Stdstreams-notitle.svg|thumb|300px|The standard streams for input, output, and error]]
 
In [[computing]], '''redirection''' is a form of [[interprocess communication]], and is a function common to most [[command-line interpreter]]s, including the various [[Unix shell]]s that can redirect [[standard streams]] to user-specified locations.
 
In [[Unix-like]] operating systems, programs do redirection with the {{mono|[[dup2]](2)}} [[system call]], or its less-flexible but higher-level [[Standard streams|stdio]] analogues, {{mono|[[freopen]](3)}} and {{mono|[[popen]](3)}}.
 
==Redirecting standard input and standard output==
Line 120 ⟶ 125:
 
{{DEFAULTSORT:Redirection (Computing)}}
[[Category:Articles with example code]]
[[Category:WindowsDOS technology]]
[[Category:Unix software]]
[[Category:Unix]]
[[Category:Windows administration]]
 
[[pl:Standardowe strumienie]]