File: util.h

package info (click to toggle)
utf8proc 2.11.3-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,836 kB
  • sloc: ansic: 19,168; lisp: 449; makefile: 242; sh: 7
file content (22 lines) | stat: -rw-r--r-- 332 bytes parent folder | download | duplicates (24)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef UTIL_H
#define UTIL_H 1

#include <inttypes.h>
#include <sys/time.h>
#include <time.h>

#ifdef __cplusplus
extern "C" {
#endif

uint8_t *readfile(const char *filename, size_t *len);

typedef struct timeval mytime;
mytime gettime(void);
double elapsed(mytime t1, mytime t0);

#ifdef __cplusplus
}
#endif

#endif /* UTIL_H */