xieite ::file_pipe ::desc ()
Defined in fragment xieite :file_pipe
(header-only:
<xieite/io/file_pipe.hpp>
)
Returns the file descriptor of the underlying stream of a
xieite ::file_pipe
.Declaration
[[nodiscard ]]int desc ()const noexcept ;
Example
Possible output:import xieite ;int main () {auto pipe =xieite ::file_pipe ("echo" ,"r" );xieite ::dump (pipe .desc ()); }
3