ceptr
 All Data Structures Files Functions Variables Typedefs Macros Modules Pages
util.h File Reference
#include <ctype.h>
#include <stdio.h>
#include <time.h>
#include <stdint.h>
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define sleepns(ns)   nanosleep((const struct timespec[]){{0, ns}}, NULL);
 

Functions

void hexDump (char *desc, void *addr, int len)
 
int strcicmp (char const *a, char const *b)
 
void writeFile (char *fn, void *data, size_t size)
 
void * readFile (char *fn, size_t *size)
 
uint64_t diff_micro (struct timespec *start, struct timespec *end)
 
void sleepms (long milliseconds)
 
void bin_to_strhex (unsigned char *bin, unsigned int binsz, char **result)
 

Detailed Description

Definition in file util.h.