gm2-libs/FileSysOp (The GNU Modula-2 Compiler)

#### 4.1.15 gm2-libs/FileSysOp ¶

    DEFINITION MODULE FileSysOp ;

    FROM CFileSysOp IMPORT AccessMode ;

    (*
       Description: provides access to filesystem operations using
                    Modula-2 base types.
    *)

    PROCEDURE Exists (filename: ARRAY OF CHAR) : BOOLEAN ;
    PROCEDURE IsDir (dirname: ARRAY OF CHAR) : BOOLEAN ;
    PROCEDURE IsFile (filename: ARRAY OF CHAR) : BOOLEAN ;
    PROCEDURE Unlink (filename: ARRAY OF CHAR) : BOOLEAN ;
    PROCEDURE Access (pathname: ARRAY OF CHAR; mode: AccessMode) : AccessMode ;

    END FileSysOp.