annotate utils.h @ 5:7c489c73d62b

Clear commandline_files after processing it.
author David A. Holland
date Sun, 19 Dec 2010 17:53:49 -0500
parents bfa97d43197e
children 0601b6e8e53d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
bfa97d43197e support code
David A. Holland
parents:
diff changeset
1 #define HOWMANY(arr) (sizeof(arr)/sizeof((arr)[0]))
bfa97d43197e support code
David A. Holland
parents:
diff changeset
2
bfa97d43197e support code
David A. Holland
parents:
diff changeset
3 void *domalloc(size_t len);
bfa97d43197e support code
David A. Holland
parents:
diff changeset
4 void *dorealloc(void *ptr, size_t len);
bfa97d43197e support code
David A. Holland
parents:
diff changeset
5
bfa97d43197e support code
David A. Holland
parents:
diff changeset
6 char *dostrdup(const char *s);
bfa97d43197e support code
David A. Holland
parents:
diff changeset
7 char *dostrdup2(const char *s, const char *t);
bfa97d43197e support code
David A. Holland
parents:
diff changeset
8 char *dostrdup3(const char *s, const char *t, const char *u);
bfa97d43197e support code
David A. Holland
parents:
diff changeset
9
bfa97d43197e support code
David A. Holland
parents:
diff changeset
10 void freestringlater(char *s);
bfa97d43197e support code
David A. Holland
parents:
diff changeset
11 void die(void);