[#subprocess-input]
= xref:subprocess.adoc[subprocess]::input
:relfileprefix: ../
:mrdocs:

Option to specify the input channel for the child process&period; It can be&colon; 1&period; An already open file descriptor&period; 2&period; A file name&period; 3&period; IOTYPE&period; Usual a PIPE

== Synopsis

Declared in `&lt;util&sol;subprocess&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct input;
----

== Description

Eg&colon; input&lcub;PIPE&rcub; OR in case of redirection, output of another Popen input&lcub;popen&period;output()&rcub;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:subprocess/input/2constructor-0b.adoc[`input`]         [.small]#[constructor]#
| Constructors
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:subprocess/input/rd_ch_.adoc[`rd&lowbar;ch&lowbar;`] 
| Read end of the channel, or &hyphen;1 if unused&period;
| xref:subprocess/input/wr_ch_.adoc[`wr&lowbar;ch&lowbar;`] 
| Write end of the channel, or &hyphen;1 if unused&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
