chrono


NAME
	chrono - 

SYNOPSIS
	#include "chrono.h"

	int chrono(chr_command_t command, struct timeval *tv, struct timeval *lap);

DESCRIPTION
	chrono is a chronometer command. tv is set to the current value.
	lap is set to the relative value since the latest LAP or START.
	command are:

	CHR_RESET	initialize the chronometer
	CHR_START_STOP	start/stop the chronometer
	CHR_LAP		take the lap
	CHR_POLL	take the current value
	CHR_RUNNING	look if the chronometer is running

RETURN VALUE
	chrono returns 0 if the chronometer is stopped and 1 if it is running.


Source files:
chrono.h
chrono.c

Example:
chronometer.c

Download everything:
chonometer.1.0.tar.gz