インテル® Fortran コンパイラー 14.0 ユーザー・リファレンス・ガイド
Portability Function: Deletes the file given by path.
result = UNLINK (name)
name |
(Input) Character*(*). Path of the file to delete. The path can use forward (/) or backward (\) slashes as path separators and can contain drive letters. |
The result type is INTEGER(4). The result is zero if successful; otherwise, an error code. Errors can be one of the following:
ENOENT: The specified file could not be found.
EACCES: The specified file is read-only.
You must have adequate permission to delete the specified file.
On Windows systems, you will get the EACCES error if the file has been opened by any process.