Creates empty file at given file path and optionally changes last
modification date/time. This routine executes /usr/bin/touch
internally.
The subroutine returns the following error codes in error:
E_FORMAT if length of path is invalid.E_INVALID if modified is not in ISO 8601 format.E_IO if command execution failed.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | path |
File to create. |
||
| character(len=TIME_LEN), | intent(in), | optional | :: | modified |
UTC modification date and time to use instead of the current time (ISO 8601). |
|
| integer, | intent(out), | optional | :: | error |
Error code. |