utf8proc

A clean C library for processing UTF-8 Unicode data
git clone https://git.sinitax.com/juliastrings/utf8proc
Log | Files | Refs | README | LICENSE | sfeed.txt

util.h (332B)


      1#ifndef UTIL_H
      2#define UTIL_H 1
      3
      4#include <inttypes.h>
      5#include <sys/time.h>
      6#include <time.h>
      7
      8#ifdef __cplusplus
      9extern "C" {
     10#endif
     11
     12uint8_t *readfile(const char *filename, size_t *len);
     13
     14typedef struct timeval mytime;
     15mytime gettime(void);
     16double elapsed(mytime t1, mytime t0);
     17
     18#ifdef __cplusplus
     19}
     20#endif
     21
     22#endif /* UTIL_H */