#include "util.h"
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
#include <stdlib.h>
#include "ceptr_error.h"
Go to the source code of this file.
|
#define | MS_PER_NANO_SECOND 1000000L |
|
|
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) |
|
- Copyright
- Copyright (C) 2013-2016, The MetaCurrency Project (Eric Harris-Braun, Arthur Brock, et. al). This file is part of the Ceptr platform and is released under the terms of the license contained in the file LICENSE (GPLv3).
Definition in file util.c.