]> code.delx.au - spectrwm/blob - linux/util.h
895585986052808bde82e2430e9c793181a2f297
[spectrwm] / linux / util.h
1 #define FPARSELN_UNESCESC 0x01
2 #define FPARSELN_UNESCCONT 0x02
3 #define FPARSELN_UNESCCOMM 0x04
4 #define FPARSELN_UNESCREST 0x08
5 #define FPARSELN_UNESCALL 0x0f
6
7 size_t strlcpy(char *, const char *, size_t);
8 size_t strlcat(char *, const char *, size_t);
9
10 char *fgetln(FILE *, size_t *);
11 char *fparseln(FILE *, size_t *, size_t *, const char [3], int);
12
13 long long strtonum(const char *, long long, long long, const char **);
14
15 #ifndef WAIT_ANY
16 #define WAIT_ANY (-1)
17 #endif
18
19 /* there is no limit to ulrich drepper's crap */
20 #ifndef TAILQ_END
21 #define TAILQ_END(head) NULL
22 #endif