diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2025-07-09 05:12:32 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2025-07-09 05:12:32 +0000 |
commit | 3f0e1092097ed63b83a02518395e370c3cac01be (patch) | |
tree | 09bce56a05e92c578aa58cb17dac0842081b460d /lib/libc/db/doc/(developers-only) | |
parent | 6a2c624b35a0c760b00b9a34c10b7ea0c240c677 (diff) |
This allows us to do things like:
```
local fp = assert(fbsd.exec({"ls", "-l"}, true))
local fpout = assert(fp:stdout())
while true do
local line = fpout:read("l")
if not line then break end
print("Read: " .. line)
end
fp:close()
```
The makeman lua rewrite will use it to capture `make showconfig` output
for processing.
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D50539
Diffstat (limited to 'lib/libc/db/doc/(developers-only)')
0 files changed, 0 insertions, 0 deletions