]> code.delx.au - spectrwm/blob - linux/util.h
Make linux makefile work nicer; from Tobias Ulmer <tobiasu@tmux.org>
[spectrwm] / linux / util.h
1 /* $scrotwm$ */
2
3 #define FPARSELN_UNESCESC 0x01
4 #define FPARSELN_UNESCCONT 0x02
5 #define FPARSELN_UNESCCOMM 0x04
6 #define FPARSELN_UNESCREST 0x08
7 #define FPARSELN_UNESCALL 0x0f
8
9 size_t strlcpy(char *, const char *, size_t);
10 size_t strlcat(char *, const char *, size_t);
11
12 char *fgetln(FILE *, size_t *);
13 char *fparseln(FILE *, size_t *, size_t *, const char [3], int);
14
15 long long strtonum(const char *, long long, long long, const char **);