diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-04-07 21:51:32 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-04-07 21:51:32 +0200 |
commit | e98144a29c3c3700e5b78b8ee6f8dd8b9078b760 (patch) | |
tree | 0ee87641ada280a0481696e020a94445f21ccecd /sys | |
parent | acfd092987498fec4391093134df66883608610f (diff) |
devstream(3): removed
Diffstat (limited to 'sys')
-rw-r--r-- | sys/man/3/stream | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/sys/man/3/stream b/sys/man/3/stream deleted file mode 100644 index b66a316d3..000000000 --- a/sys/man/3/stream +++ /dev/null @@ -1,40 +0,0 @@ -.TH STREAM 3 -.SH NAME -stream \- fast sequential file access -.SH SYNOPSIS -.nf -.B bind #ΒΆ /fd - -.B /fd/0stream -.B /fd/1stream -\&... -.fi -.SH DESCRIPTION -The -.I stream -device serves a one-level directory containing files of the form -.IR N stream -where -.I N -is a file descriptor of the current process. -.PP -An -.IR open (2) -returns a stream file descriptor connected to the original file -refered to by the file descriptor -.IR N . -When a stream was opend for reading, the device will start -continuously reading the file in the background until it reaches -the end of the file. A -.IR read (2) -on the stream consumes the prefetched data in sequential order. -.PP -When a stream is opend for writing, writes to the stream will -return immidiately without waiting for the data to be written -to the file. A zero-length write can be used to wait for the -buffered data to drain and return any previous write errors. -.SH SEE ALSO -.IR dup (3), -.IR pipe (3) -.SH SOURCE -.B /sys/src/9/port/devstream.c |