summaryrefslogtreecommitdiff
path: root/static/v10/man3/stdiobuf.3
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
commit711594636704defae873be1a355a292505585afd (patch)
tree59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man3/stdiobuf.3
parent3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff)
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man3/stdiobuf.3')
-rw-r--r--static/v10/man3/stdiobuf.339
1 files changed, 39 insertions, 0 deletions
diff --git a/static/v10/man3/stdiobuf.3 b/static/v10/man3/stdiobuf.3
new file mode 100644
index 00000000..eb35226d
--- /dev/null
+++ b/static/v10/man3/stdiobuf.3
@@ -0,0 +1,39 @@
+. \"ident "%W%"
+. \"Copyright (c) 1984 AT&T
+. \"All Rights Reserved
+. \"THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
+. \"The copyright notice above does not evidence any
+. \"actual or intended publication of such source code.
+.TH STDIOBUF 3I+ "C++ Stream Library" " "
+.SH NAME
+stdiobuf \- iostream specialized to stdio FILE
+.SH SYNOPSIS
+.ft B
+.ta1i 2i
+.nf
+#include <iostream.h>
+#include <strstream.h>
+#include <stdio.h>
+
+class stdiobuf : streambuf {
+ stdiobuf(FILE* f);
+ FILE* stdiofile();
+}
+.fi
+.ft R
+.SH DESCRIPTION
+Operations on a
+\f(CWstdiobuf\fR
+are reflected on
+the underlying
+\f(CWFILE\fR.
+A \f(CWstdiobuf\fR is constructed in unbuffered mode, which causes all operations
+to be immediately reflected in the \f(CWFILE\fR.
+\fBseek\fRs are translated into \fBfseek\fRs.
+\fBsetbuf\fR has its usual meaning. If it supplies a reserve
+area buffering will be turned back on.
+.SH SEE ALSO
+filebuf(3C++)
+istream(3C++)
+ostream(3C++)
+ssbuf.pub(3C++)