c_pclose Interface

interface
private function c_pclose(stream) bind(C, name="pclose")

Arguments

Type IntentOptional Attributes Name
type(c_ptr), intent(in), value :: stream

Return Value integer(kind=c_int)

Description

Close a pipe opened with popen.

@param stream The FILE pointer to close @return Exit status of command, or -1 on error