Node: Unlink Intrinsic (function), Next: , Previous: UMask Intrinsic (function), Up: Other Intrinsics



Unlink Intrinsic (function)

     Unlink(File)
     

Unlink: INTEGER(KIND=1) function.

File: CHARACTER; scalar; INTENT(IN).

Intrinsic groups: badu77.

Description:

Unlink the file File. A null character (CHAR(0)) marks the end of the name in File--otherwise, trailing blanks in File are ignored. Returns 0 on success or a non-zero error code. See unlink(2).

Due to the side effects performed by this intrinsic, the function form is not recommended.

For information on other intrinsics with the same name: See Unlink Intrinsic (subroutine).