FORM v5.0.0-35-g6318119
Data Fields
FiLe Struct Reference

#include <structs.h>

Collaboration diagram for FiLe:
Collaboration graph
[legend]

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 681 of file structs.h.

Field Documentation

◆ POposition

POSITION POposition

Definition at line 682 of file structs.h.

◆ filesize

POSITION filesize

Definition at line 683 of file structs.h.

◆ PObuffer

WORD* PObuffer

Definition at line 684 of file structs.h.

◆ POstop

WORD* POstop

Definition at line 685 of file structs.h.

◆ POfill

WORD* POfill

Definition at line 686 of file structs.h.

◆ POfull

WORD* POfull

Definition at line 687 of file structs.h.

◆ name

char* name

Definition at line 694 of file structs.h.

◆ numblocks

ULONG numblocks

Definition at line 699 of file structs.h.

◆ inbuffer

ULONG inbuffer

Definition at line 700 of file structs.h.

◆ POsize

LONG POsize

Definition at line 701 of file structs.h.

◆ handle

int handle

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

Definition at line 709 of file structs.h.

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

◆ active

int active

Definition at line 710 of file structs.h.


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