Writes content to given file (ASCII or binary).
The routine returns the following error codes in argument error:
E_IO if opening the file failed.E_WRITE if writing to file failed.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | path |
Output file path. |
||
| character(len=*), | intent(in) | :: | content |
Bytes to write. |
||
| logical, | intent(in), | optional | :: | raw |
Unformatted output if true. |
|
| integer, | intent(out), | optional | :: | error |
Error code. |