pfe-file-misc-ext
Prev? | pfe Forth Wordset List | ?Next

## Name

pfe-file-misc-ext ? FILE-Misc Compatibility words

## Synopsis

`INCLUDE ( "filename" -- ??? ) ?=>? (` | `)`; | ?

`[FORTH]`;
?

`COPY-FILE ( src-ptr src-len dst-ptr dst-len -- copy-errno# ) ?=>? (` | `)`; | ?

`[FORTH]`;
?

`MOVE-FILE ( src-ptr src-len dst-ptr dst-len -- move-errno# ) ?=>? (` | `)`; | ?

`[FORTH]`;
?

`FILE-R/W ( buffer* use-block# flag? some-file* -- ) ?=>? (` | `)`; | ?

`[FORTH]`;
?

`FILE-BLOCK ( use-block# some-file* -- buffer* ) ?=>? (` | `)`; | ?

`[FORTH]`;
?

`FILE-BUFFER ( use-block# some-file* -- buffer* ) ?=>? (` | `)`; | ?

`[FORTH]`;
?

`FILE-EMPTY-BUFFERS ( some-file* -- ) ?=>? (` | `)`; | ?

`[FORTH]`;
?

`FILE-FLUSH ( some-file* -- ) ?=>? (` | `)`; | ?

`[FORTH]`;
?

`FILE-LIST ( use-block# some-file* -- ) ?=>? (` | `)`; | ?

`[FORTH]`;
?

`FILE-LOAD ( use-block# some-file* -- ) ?=>? (` | `)`; | ?

`[FORTH]`;
?

`FILE-SAVE-BUFFERS ( some-file* -- ) ?=>? (` | `)`; | ?

`[FORTH]`;
?

`FILE-THRU ( lo-block# hi-block# some-file* -- ) ?=>? (` | `)`; | ?

`[FORTH]`;
?

`FILE-UPDATE ( some-file* -- ) ?=>? (` | `)`; | ?

`[FORTH]`;
?

## Description

INCLUDE ( "filename" -- ??? ) [FTH] => [FORTH]

load the specified file, see also `LOAD"` filename"

COPY-FILE ( src-ptr src-len dst-ptr dst-len -- copy-errno# ) [FTH] => [FORTH]

like `RENAME-FILE`, copies the file from src-name to dst-name and returns an error-code or null

MOVE-FILE ( src-ptr src-len dst-ptr dst-len -- move-errno# ) [FTH] => [FORTH]

like `RENAME-FILE`, but also across-volumes moves the file from src-name to dst-name and returns an error-code or null

FILE-R/W ( buffer* use-block# flag? some-file* -- ) [FTH] => [FORTH]

like FIG-Forth `R/W`

FILE-BLOCK ( use-block# some-file* -- buffer* ) [FTH] => [FORTH]

FILE-BUFFER ( use-block# some-file* -- buffer* ) [FTH] => [FORTH]

FILE-EMPTY-BUFFERS ( some-file* -- ) [FTH] => [FORTH]

FILE-FLUSH ( some-file* -- ) [FTH] => [FORTH]

      simulate      : FILE-FLUSH DUP FILE-SAVE-BUFFERS FILE-EMTPY-BUFFERS ;

FILE-LIST ( use-block# some-file* -- ) [FTH] => [FORTH]

FILE-LOAD ( use-block# some-file* -- ) [FTH] => [FORTH]

FILE-SAVE-BUFFERS ( some-file* -- ) [FTH] => [FORTH]

FILE-THRU ( lo-block# hi-block# some-file* -- ) [FTH] => [FORTH]

see `THRU`

FILE-UPDATE ( some-file* -- ) [FTH] => [FORTH]

Prev? | Up | ?Next
pfe-file-ext? | Home | ?pfe-floating-ext