FORM
4.1
|
Go to the source code of this file.
Macros | |
#define | FORMNAME "FORM" |
#define | VERSIONSTR VERSION |
#define | STRINGIFY(x) STRINGIFY__(x) |
#define | STRINGIFY__(x) #x |
#define | TAKEPATH(x) if(s[1]== '=' ){x=s+2;} else{x=*argv++;argc--;} |
Functions | |
int | DoTail (int argc, UBYTE **argv) |
int | OpenInput () |
VOID | ReserveTempFiles (int par) |
VOID | StartVariables () |
VOID | StartMore () |
VOID | PrintHeader () |
WORD | IniVars () |
int | main (int argc, char **argv) |
VOID | CleanUp (WORD par) |
VOID | Terminate (int errorcode) |
VOID | PrintRunningTime () |
LONG | GetRunningTime () |
Variables | |
UBYTE * | emptystring = (UBYTE *)"." |
UBYTE * | defaulttempfilename = (UBYTE *)"xformxxx.str" |
This file contains the main program. It also deals with the very early stages of the startup of FORM and the final stages when the program attemps some cleanup. Here is the routine that analyses the command tail.
Definition in file startup.c.
VOID StartVariables | ( | ) |
All functions (well, nearly all) are declared here.
Definition at line 659 of file startup.c.
References CbUf::Buffer, CheckRecoveryFile(), CleanUpSort(), Compare1(), DeleteRecoveryFile(), IniFbuffer(), InitRecovery(), FuNcTiOn::name, PF_BroadcastNumber(), PF_FlushStdOutBuffer(), PF_GetSlaveTimes(), PF_Init(), PF_Terminate(), CbUf::Pointer, and PutPreVar().