diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-06-07 15:29:42 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-06-07 15:29:42 -0700 |
commit | 75eece6dd52aa49705bf59a6f5b6197b7a14f5db (patch) | |
tree | 3aafe0581b8a6cca95467f26334668c1e914f32e /sys/cmd/menu/util.h | |
parent | 13ebf171dd7c7cf3fdba6d89c184a644fc37ac38 (diff) |
feat: working dispatch menu
Diffstat (limited to 'sys/cmd/menu/util.h')
-rw-r--r-- | sys/cmd/menu/util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/cmd/menu/util.h b/sys/cmd/menu/util.h new file mode 100644 index 0000000..289720a --- /dev/null +++ b/sys/cmd/menu/util.h @@ -0,0 +1,6 @@ +/* See LICENSE file for copyright and license details. */ + +#define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B)) + +void die(const char *fmt, ...); +void *ecalloc(size_t nmemb, size_t size); |