Skip to content
Snippets Groups Projects
Forked from GOSSA JULIEN / P4z
This fork has diverged from the upstream repository.
utils.h 455 B
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <time.h>

struct data {
    time_t time;
    unsigned int write;
    unsigned int comparison;
    unsigned int ct_fusion;
    unsigned int ct_parse;
};

int readToTab(long* tab, char* file);
void initData(struct data* d);
long* generate_tab(size_t nb, size_t* l);