FORM  4.2.1
Public Member Functions | Data Fields
FiLe Struct Reference

#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
 

Detailed Description

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).

Definition at line 633 of file structs.h.

Field Documentation

int handle

Our own handle. Equal -1 if no file exists.

Definition at line 661 of file structs.h.

Referenced by DoOnePow(), FlushOut(), MergePatches(), PutIn(), PutOut(), Sflush(), and StageSort().


The documentation for this struct was generated from the following file: