blob: 6acb158f247fe94e6b8bfaaccdb4fe993e6e65fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <stddef.h>
void *xmalloc(size_t sz);
void *xrealloc(void *p, size_t sz);
#define new(p) ((p) = xmalloc(sizeof(*(p))))
int kernel_version(void);
#define KRELEASE(maj,min,patch) ((maj) * 10000 + (min)*1000 + (patch))
int nstrcmp(const char *, const char *);
char *safe_strncpy(char *dst, const char *src, size_t size);
|