Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(kind=c_char, len=1), | intent(in), | dimension(*) | :: | command | ||
character(kind=c_char, len=1), | intent(in), | dimension(*) | :: | mode |
Open a pipe to a command and return file pointer.
@param command The command to execute @param mode Open mode ("r" for read, "w" for write) @return C pointer to FILE stream, or NULL on failure