aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/postscript/common/getopt.c
diff options
context:
space:
mode:
authorDavid Arroyo <david@aqwari.net>2021-01-31 00:51:32 -0500
committerDan Cross <crossd@gmail.com>2021-01-31 11:52:08 -0500
commita72478870ae66b7ac1e73b1d22b578cd31852f33 (patch)
treeeaf38f786a91eb09bac4c57aaff2ff4b71eda357 /src/cmd/postscript/common/getopt.c
parent36cd4c58c1346375b98f517fb8568be5bb47618d (diff)
downloadplan9port-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/postscript/common/getopt.c')
0 files changed, 0 insertions, 0 deletions