diff options
author | David Arroyo <david@aqwari.net> | 2021-01-31 00:51:32 -0500 |
---|---|---|
committer | Dan Cross <crossd@gmail.com> | 2021-01-31 11:52:08 -0500 |
commit | a72478870ae66b7ac1e73b1d22b578cd31852f33 (patch) | |
tree | eaf38f786a91eb09bac4c57aaff2ff4b71eda357 /src/cmd/sam/plan9.c | |
parent | 36cd4c58c1346375b98f517fb8568be5bb47618d (diff) | |
download | plan9port-a72478870ae66b7ac1e73b1d22b578cd31852f33.tar.gz plan9port-a72478870ae66b7ac1e73b1d22b578cd31852f33.tar.bz2 plan9port-a72478870ae66b7ac1e73b1d22b578cd31852f33.zip |
9p: parse lines in rdwr command
Use bio(3) to read at most one line of input per iteration, even
if there is more than one line available in the input buffer. This
makes it easier to interact with line-oriented ctl files like that of
factotum(4) from shell scripts, without the need to control when
and how much data is flushed to a pipe.
Diffstat (limited to 'src/cmd/sam/plan9.c')
0 files changed, 0 insertions, 0 deletions