Add support for yorn(), safe yes-or-no prompt

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2019-05-29 15:57:11 +02:00
1 parent 7f053f7624
commit b2c2d032e8
7 files changed
+136 -2

No files matched your search

+2
View File
@@ -95,6 +95,8 @@ void *reallocarray(void *optr, size_t nmemb, size_t size);
void progress (int percent, int max_width);
void progress_simple(int percent);
int yorn (const char *fmt, ...);
char *which (const char *cmd);
int whichp (const char *cmd);