summaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-11-17 07:30:15 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-11-17 07:30:15 -0800
commitc860aa452e10b450b2edeb64b6812d95e826c611 (patch)
tree7fd4e8436fd72cfe7041d3b0d85a013e4c7082b9 /parser.c
parent9108e9f8f4434fb29200b08a4b576df47c407c01 (diff)
downloadtxr-c860aa452e10b450b2edeb64b6812d95e826c611.tar.gz
txr-c860aa452e10b450b2edeb64b6812d95e826c611.tar.bz2
txr-c860aa452e10b450b2edeb64b6812d95e826c611.zip
buffers: use unbuffered I/O in convenience functions.
* stdlib/getput.tl (file-get-buf, command-get-buf): If the number of bytes to read is specified, we use an unbuffered stream. A buffered stream can read more bytes in order to fill a buffer, which is undesirable when dealing with a device or pipe.
Diffstat (limited to 'parser.c')
0 files changed, 0 insertions, 0 deletions