blob: 2d7d8c8dee162a108c2bf07ec38adb7401447bb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef DUCC_STD_H
#define DUCC_STD_H
#include <stddef.h>
int atoi(const char*);
void* calloc(size_t, size_t);
void exit(int);
int mkstemps(char*, int);
void* realloc(void*, size_t);
long strtol(const char*, char**, int);
int system(const char*);
#define assert(x) \
do { \
if (!(x)) { \
fatal_error("%s:%d: assertion failed", __FILE__, __LINE__); \
} \
} while (0)
#define F_OK 0
#define R_OK 4
int access(const char*, int);
#define PATH_MAX 4096
char* dirname(char*);
#endif
|