FORM 4.3
|
#include <structs.h>
Public Member Functions | |
PADPOSITION (5, 3, 2, 0, 0) |
Data Fields | |
POSITION | POposition |
POSITION | filesize |
WORD * | PObuffer |
WORD * | POstop |
WORD * | POfill |
WORD * | POfull |
char * | name |
ULONG | numblocks |
ULONG | inbuffer |
LONG | POsize |
int | handle |
int | active |
The type FILEHANDLE is the struct that controls all relevant information of a file, whether it is open or not. The file may even not yet exist. There is a system of caches (PObuffer) and as long as the information to be written still fits inside the cache the file may never be created. There are variables that can store information about different types of files, like scratch files or sort files. Depending on what is available in the system we may also have information about gzip compression (currently sort file only) or locks (TFORM).
int handle |
Our own handle. Equal -1 if no file exists.
Definition at line 661 of file structs.h.
Referenced by DoOnePow(), FlushOut(), MergePatches(), poly_factorize_expression(), poly_unfactorize_expression(), PutIn(), PutOut(), Sflush(), and StageSort().