utility.h File Reference

#include <stdint.h>

Include dependency graph for utility.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define UTILITY_H

Functions

int time_stamp (char *fn, char *event)
int16_t millisec_get (void)


Define Documentation

#define UTILITY_H

Definition at line 17 of file utility.h.


Function Documentation

int16_t millisec_get ( void   ) 

Definition at line 25 of file utility.c.

int time_stamp ( char *  fn,
char *  event 
)

Log events to a file with timestamp.

Parameters:
fn Filename to save results to.
event Name of the event.
Returns:
errno Error for file access.
Note:
When calling this from threads, each thread must have a unique filename.

Definition at line 11 of file utility.c.


Generated on Mon Jun 22 21:39:54 2009 for morse2txt by  doxygen 1.5.6