*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> c++/stdiobuf (3)              



NAME    [Toc]    [Back]

     stdiobuf -	iostream specialized to	stdio FILE

SYNOPSIS    [Toc]    [Back]

     #include <iostream.h>
     #include <stdiostream.h>
     #include <stdio.h>

     class stdiobuf : public streambuf {
			 stdiobuf(FILE*	f);
	       FILE*	 stdiofile();

DESCRIPTION    [Toc]    [Back]

     Operations	on a stdiobuf are reflected on the associated FILE.  A
     stdiobuf is constructed in	unbuffered mode, which causes all operations
     to	be reflected immediately in the	FILE.  seekg()s	and seekp()s are
     translated	into fseek()s.	setbuf() has its usual meaning;	if it supplies
     a reserve area, buffering will be turned back on.

CAVEATS    [Toc]    [Back]

     stdiobuf is intended to be	used when mixing C and C++ code.  New C++ code
     should prefer to use filebufs, which have better performance.

SEE ALSO    [Toc]    [Back]

     filebuf(3C++), istream(3C++), ostream(3C++), sbuf.pub(3C++)

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
strstream IRIX iostream specialized to arrays
fstream IRIX iostream and streambuf specialized to files
ssbuf IRIX streambuf specialized to arrays
manip IRIX iostream out of band manipulations
funlockfile FreeBSD stdio locking functions
flockfile FreeBSD stdio locking functions
flockfile IRIX stdio synchronization functions
ftrylockfile FreeBSD stdio locking functions
ftrylockfile OpenBSD application level locking of stdio files
flockfile OpenBSD application level locking of stdio files
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service