shiba
 All Data Structures Files Functions Variables Macros Pages
Functions
main.c File Reference

The main() function More...

#include "shiba.h"
Include dependency graph for main.c:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 The main program controller.
 
void readArgs (int argc, char **argv)
 Parses arguments to the executable.
 

Detailed Description

The main() function

Definition in file main.c.

Function Documentation

void readArgs ( int  argc,
char **  argv 
)

Parses arguments to the executable.

Pass argc and argv directly from main() . copied from the GNU libc getopt() example.

Parameters
argcThe number of arguments
argvThe array of strings of the various arguments

Definition at line 69 of file main.c.

References Cfg, DataFile, error(), help(), PhyloToUse, PrintData, and RUN_BATCH.

Referenced by main().

Here is the call graph for this function: