irmc/src/util.h

31 lines
559 B
C
Raw Normal View History

2016-10-04 12:34:04 -04:00
#include <time.h>
#include <sys/time.h>
2016-10-04 12:35:56 -04:00
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <netdb.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <math.h>
#include <fcntl.h>
#include <pthread.h>
#include <signal.h>
#include <arpa/inet.h>
2016-10-04 12:34:04 -04:00
#ifdef __MACH__
#include <mach/clock.h>
#include <mach/mach.h>
#endif
void current_utc_time(struct timespec *ts);
2016-10-04 12:34:50 -04:00
long fastclock(void);
2016-10-04 12:35:56 -04:00
int kbhit (void);
2016-10-04 12:36:58 -04:00
void *get_in_addr(struct sockaddr *sa);
2016-10-04 12:34:04 -04:00