My Project
Macros | Functions | Variables
testSymbol.c File Reference

Driver to test functions of symbol.c (do not modify) More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "symbol.h"

Macros

#define MAX_LINE_LENGTH   128
 

Functions

int main (int argc, char *argv[])
 

Variables

const char * delim = " \t"
 

Detailed Description

This is a driver program to test the functions of symbol.c The program accepts a series of commands and executes those commands one at a time. To understand the usage, type the command help. This will give a brief description of each command and its parameters. Each command and its parameters are on a single line separated by whitespace.

Author
: Fritz Sieker

Macro Definition Documentation

#define MAX_LINE_LENGTH   128

Maximum length of command line processed

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Entry point of the program

Parameters
argccount of arguments, will always be at least 1
argvarray of parameters to program argv[0] is the name of the program, so additional parameters will begin at index 1.
Returns
0 the Linux convention for success.

Variable Documentation

const char* delim = " \t"

Delimiter used separate tokens on line - used by strtok()