UNLINK — Remove a file from the file system¶
- UNLINK()¶
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 theSTATUS
argument is supplied, it contains 0 on success or a nonzero error code upon return; seeunlink(2)
.- Parameters
PATH – Shall be of default
CHARACTER
type.STATUS – (Optional) Shall be of default
INTEGER
type.
Standard:
GNU extension
Class:
Subroutine, function
Syntax:
CALL UNLINK(PATH [, STATUS]) STATUS = UNLINK(PATH)
See also:
LINK, SYMLNK