chiark / gitweb /
wip docs
[subdirmk.git] / lib / toylib.h
1 #ifndef LIBTOY_H
2 #define LIBTOY_H
3
4 #include <string.h>
5
6 #define STRCMP(x, op, y) (strcmp((x), (y)) op 0)
7 #define STRNCMP(x, op, y, n) (strncmp((x), (y), (n)) op 0)
8 #define MEMCMP(x, op, y, n) (memcmp((x), (y), (n)) op 0)
9
10 extern const char *greeting(void);
11
12 #endif