3 stream \- fast sequential file access
15 device serves a one-level directory containing files of the form
19 is a file descriptor of the current process.
23 returns a stream file descriptor connected to the original file
24 refered to by the file descriptor
26 When a stream was opend for reading, the device will start
27 continuously reading the file in the background until it reaches
28 the end of the file. A
30 on the stream consumes the prefetched data in sequential order.
32 When a stream is opend for writing, writes to the stream will
33 return immidiately without waiting for the data to be written
34 to the file. A zero-length write can be used to wait for the
35 buffered data to drain and return any previous write errors.
40 .B /sys/src/9/port/devstream.c