UNLINK — Remove a file from the file system#
-
UNLINK(PATH)#
Unlinks the file
PATH. A null character (CHAR(0)) can be used to mark the end of the name inPATH; otherwise, trailing blanks in the file name are ignored. If theSTATUSargument is supplied, it contains 0 on success or a nonzero error code upon return; seeunlink(2).- Parameters:
PATH – Shall be of default
CHARACTERtype.STATUS – (Optional) Shall be of default
INTEGERtype.
- Standard:
GNU extension
- Class:
Subroutine, function
- Syntax:
CALL UNLINK(PATH [, STATUS]) STATUS = UNLINK(PATH)
- See also: