unit.c File Reference

Unit test applet - shouldn't output much of anything unless there's a problem. More...

#include <stdlib.h>
#include <stdio.h>
#include "unit.h"
#include "ctl/mstime.h"
#include "ctl/dir.h"
#include "ctl/mmap.h"
#include "ctl/ctlstring.h"

Include dependency graph for unit.c:

Go to the source code of this file.

Functions

int arg_find (const char *sz, size_t len)
 Get index of CLI argument.
int arg_count (void)
 Get count of arguments passed to main.
const char * arg_get (int index)
 Get an argument that was passed to main.

Variables

int error_count = 0


Detailed Description

Unit test applet - shouldn't output much of anything unless there's a problem.

Author:
David Mace

Definition in file unit.c.


Variable Documentation

int error_count = 0

Global used by unit test macros for error tracking

Definition at line 17 of file unit.c.


Generated on Fri Jan 2 15:28:36 2009 for Squat by  doxygen 1.5.6