view future.h @ 94:b7ae2d947617

Change default KK port to COM4. Make port configurable via .ini file
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Fri, 22 Mar 2013 18:46:13 +0100
parents 4102fe614df2
children b955e35c07ae
line wrap: on
line source

#ifndef __FUTURE_H__
#define __FUTURE_H__

#include <ansi_c.h>

double round(double x);

typedef long int suseconds_t;

struct timeval {
	time_t tv_sec;			/* seconds since 1970-01-01 */
	suseconds_t tv_usec;	/* microseconds */
};

struct timezone {
	int tz_minuteswest;
	int tz_dsttime;
};

int gettimeofday(struct timeval *tp, struct timezone *tzp);

#endif