diff options
| author | Rob Landley <rob@landley.net> | 2020-12-11 19:50:36 -0600 |
|---|---|---|
| committer | Rob Landley <rob@landley.net> | 2020-12-11 19:50:36 -0600 |
| commit | 4e47b8e583903752c08a29873ffcb868173c70d8 (patch) | |
| tree | 08311d13e1942b49cd64671ad83e63b9336b6033 /lib | |
| parent | 2fa16e73fba0e908309aadad4d4668b86a1134e5 (diff) | |
| download | toybox-4e47b8e583903752c08a29873ffcb868173c70d8.tar.gz | |
The "fall back to C.UTF-8" check was backwards, and make TOYFLAG_LINEBUF
configurable.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/toyflags.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/toyflags.h b/lib/toyflags.h index b158ba88..c8830874 100644 --- a/lib/toyflags.h +++ b/lib/toyflags.h @@ -32,6 +32,9 @@ // Suppress default --help processing #define TOYFLAG_NOHELP (1<<10) +// Line buffered stdout +#define TOYFLAG_LINEBUF (1<<11) + // Error code to return if argument parsing fails (default 1) #define TOYFLAG_ARGFAIL(x) (x<<24) |
