11.6.2.1524 FILE-STATUS
FILE EXT
(c-addr u -- x ior )
Return the status of the file identified by the character string c-addr u. If the file exists, ior is zero; otherwise ior is the implementation-defined I/O result code. x contains implementation-defined information about the file.
11.6.2.1560 FLUSH-FILE
FILE EXT
( fileid -- ior )
Attempt to force any buffered information written to the file referred to by fileid to be written to mass storage, and the size information for the file to be recorded in the storage directory if changed. If the operation is successful, ior is zero. Otherwise, it is an implementation-defined I/O result code.
11.6.2.2125 REFILL
FILE EXT
( -- flag )
Extend the execution semantics of 6.2.2125 REFILL with the following:
When the input source is a text file, attempt to read the next line from the text-input file. If successful, make the result the current input buffer, set >IN to zero, and return true. Otherwise return false.
See: 6.2.2125 REFILL, 7.6.2.2125 REFILL.
11.6.2.2130 RENAME-FILE
FILE EXT
( c-addr1 u1 c-addr2 u2 -- ior )
Rename the file named by the character string c-addr1 u1 to the name in the character string c-addr2 u2. ior is the implementation-defined I/O result code.
Table of Contents
Next Section