From e98144a29c3c3700e5b78b8ee6f8dd8b9078b760 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 7 Apr 2016 21:51:32 +0200 Subject: [PATCH] devstream(3): removed --- sys/man/3/stream | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 sys/man/3/stream 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 -- 2.44.0