summaryrefslogtreecommitdiff
path: root/static/v10/man3/stdiobuf.3
blob: eb35226d0e31457093039abdf5bb51decd2293bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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++)