blob: 2b4cc6a89c7cbcf776ee623f40577edc12964686 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* $scrotwm: util.h,v 1.3 2010/01/11 20:44:54 marco Exp $ */
#define FPARSELN_UNESCESC 0x01
#define FPARSELN_UNESCCONT 0x02
#define FPARSELN_UNESCCOMM 0x04
#define FPARSELN_UNESCREST 0x08
#define FPARSELN_UNESCALL 0x0f
size_t strlcpy(char *, const char *, size_t);
size_t strlcat(char *, const char *, size_t);
char *fgetln(FILE *, size_t *);
char *fparseln(FILE *, size_t *, size_t *, const char [3], int);
long long strtonum(const char *, long long, long long, const char **);
#ifndef WAIT_ANY
#define WAIT_ANY (-1)
#endif
/* there is no limit to ulrich drepper's crap */
#ifndef TAILQ_END
#define TAILQ_END(head) NULL
#endif
|