FORM 4.3
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

◆ POposition

POSITION POposition

Definition at line 634 of file structs.h.

◆ filesize

POSITION filesize

Definition at line 635 of file structs.h.

◆ PObuffer

WORD* PObuffer

Definition at line 636 of file structs.h.

◆ POstop

WORD* POstop

Definition at line 637 of file structs.h.

◆ POfill

WORD* POfill

Definition at line 638 of file structs.h.

◆ POfull

WORD* POfull

Definition at line 639 of file structs.h.

◆ name

char* name

Definition at line 646 of file structs.h.

◆ numblocks

ULONG numblocks

Definition at line 651 of file structs.h.

◆ inbuffer

ULONG inbuffer

Definition at line 652 of file structs.h.

◆ POsize

LONG POsize

Definition at line 653 of file structs.h.

◆ handle

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

◆ active

int active

Definition at line 662 of file structs.h.


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