RWalib C Array Library User Guide > Performance Utilities > alibtime
  

alibtime
Returns the number of seconds since the Unix epoch. This routine provides functionality for PV-WAVE TIMECMND.
Prototype
double alibtime()
Example
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "alib.h"
void main() {
   double t;
   alibinit( NULL, NULL, NULL, NULL );
   t = alibtime();
   printf( "%f\n", t );
}
 
Output:
 
1375298688.932961

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.