~kris/hacks

sframe

ref: 155c468d6c81a5f1a7d352f27ffd8f354dcad6c2 sframe/src/util.h -rw-r--r-- 327 bytes
155c468d — Kris Yotam Initial commit: sframe - unique frame extractor 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* See LICENSE file for copyright and license details. */

#ifndef UTIL_H
#define UTIL_H

#include <stddef.h>

void die(const char *fmt, ...);
void warn(const char *fmt, ...);
void *ecalloc(size_t nmemb, size_t size);
void *emalloc(size_t size);
char *estrdup(const char *s);
int mkdirp(const char *path);

#endif /* UTIL_H */