aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-07 16:10:32 +0300
committerCem Keylan <cem@ckyln.com>2021-07-07 16:10:32 +0300
commit854ddfac002e753a6389b48d3b9296fe32665ad3 (patch)
treeff9a2be83f68dd66239ff3a798222dc2f0afc9b8 /lib/lib.h
parent5bc00f0da395aa4ec779bb802bd78bf893565143 (diff)
parent3fbacb1f5c5eab1727d0bed0bd50d659af854ec7 (diff)
downloadtoybox-854ddfac002e753a6389b48d3b9296fe32665ad3.tar.gz
Merge remote-tracking branch 'refs/remotes/origin/master'
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/lib.h b/lib/lib.h
index cf1920f9..7484eb8f 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -112,7 +112,8 @@ void show_help(FILE *out, int full);
// Tell xopen and friends to print warnings but return -1 as necessary
// The largest O_BLAH flag so far is arch/alpha's O_PATH at 0x800000 so
// plenty of headroom.
-#define WARN_ONLY (1<<31)
+#define WARN_ONLY (1<<31) // don't exit, just warn
+#define LOOPFILES_ANYWAY (1<<30) // call function with fd -1
// xwrap.c
void xstrncpy(char *dest, char *src, size_t size);