#include <unistd.h>
#include <stdlib.h>
#include <assert.h>
+#include <time.h>
#include <comedilib.h>
saved_calibration_t settings[], unsigned int num_settings )
{
int i;
+ time_t now;
+ now = time( NULL );
+ fprintf( file, "#calibration file generated by comedi_calibrate\n"
+ "#%s\n", ctime( &now ) );
fprintf( file, "{\n" );
fprintf( file, "\tdriver_name => \"%s\",\n", comedi_get_driver_name( dev ) );
fprintf( file, "\tboard_name => \"%s\",\n", comedi_get_board_name( dev ) );