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

Uses an already open file descriptor as the child&apos;s input&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
input(int fd);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *fd*
| Readable file descriptor to feed to the child&period;
|===


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