Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields  

Commandline Interface


Modules

Toy Memory Manager Interface

Defines

#define MEMORY_SIZE   1000
 The default memory size.


Functions

int main (int argc, char *argv[])
 Function that gets called on program execution.


Variables

const char * ErrMessages []

Define Documentation

#define MEMORY_SIZE   1000
 

The default memory size.

Definition at line 30 of file main.c.

Referenced by main().


Function Documentation

int main int    argc,
char *    argv[]
 

Function that gets called on program execution.

Execute the program with this syntax:

toymem [input_file.txt] [input_file2.txt] [...]

If no files are specified, it inputs lines from the console.

Definition at line 40 of file main.c.

References ErrMessage_t, MEMORY_SIZE, TMM_Create(), TMM_Free(), TMM_ParseFile(), and TMM_ParseLine().


Variable Documentation

const char* ErrMessages[]  
 

ERR_UNKNOWN and ERR_NONE do not have strings in the table.

Definition at line 27 of file main.c.


Generated on Fri Apr 4 14:29:08 2003 for ToyMem by doxygen1.3-rc3