LIBSTDBUF(3) Library Functions Manual Fully-rendered PDF

libstdbufconfigure I/O buffers

_STDBUF_[IOE]=size|LLD_PRELOAD=/home/nabijaczleweli/code/voreutils/out/lib/libstdbuf.so

If any of _STDBUF_I, _STDBUF_O, _STDBUF_E environment variables are set, sets buffering for stdin, stdout, stderr stdio(3) streams, respectively, when loaded.

If the value is L (l), sets line buffering; otherwise it's taken to be in the case-insensitive

[base][KMGTPEZY][B] (with at least one of {base, KMGTPEZY, B})
format, where base is an optionally-floating-point number of bytes, defaulting to , which is then optionally multiplied by the relevant unit. B sets the unit multiplier to (from ). The buffer size is equal to base·unitmult , if any, or base. If it works out to , buffering is disabled.

Diagnostics are issued to the standard error stream under the libstdbuf.so identifier if the buffer specifier is in an invalid format or the buffering couldn't be set.

stdbuf(1), setvbuf(3), stdio(3)

March 8, 2024 voreutils 5a9f9f29