Modula-2 ||
Compiler & Tools ||
Library ||
Search Engine
Ulm's Modula-2 Library:
SysCreat
NAME
SysCreat - create a new file or rewrite an existing one
SYNOPSIS
PROCEDURE Creat(VAR fd: CARDINAL; filename: ARRAY OF CHAR;
mode: CARDINAL) : BOOLEAN;
DESCRIPTION
Creat
creates filename or rewrites it.
Modes are usually given in octal (e.g. 664B for rw-rw-r--)
and conform to those values returned by SysStat.
On success, TRUE is returned, and fd associated to
the newly opened file.
DIAGNOSTICS
In case of errors, FALSE is returned and Errno.errno set.
SEE ALSO
creat(2), SysOpen
Edited by: borchert, last change: 1997/02/25, revision: 1.1, converted to HTML: 1997/04/28
Modula-2 ||
Compiler & Tools ||
Library ||
Search Engine