FORM  4.1
Macros | Functions | Variables
startup.c File Reference
#include "form3.h"
#include "inivar.h"
#include <signal.h>

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"
 

Detailed Description

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.

Function Documentation

VOID StartVariables ( )