home *** CD-ROM | disk | FTP | other *** search
- /*[]------------------------------------------------------------[]*/
- /*| |*/
- /*| ostskpos.cpp |*/
- /*| |*/
- /*| Class ostream |*/
- /*| ostream& ostream::seekp( streampos ) |*/
- /*| |*/
- /*[]------------------------------------------------------------[]*/
-
- /*
- * C/C++ Run Time Library - Version 5.0
- *
- * Copyright (c) 1990, 1992 by Borland International
- * All Rights Reserved.
- *
- */
-
- #include <ioconfig.h>
- #include <iostream.h>
-
- // set the put pointer's position
- ostream _FAR & ostream::seekp(streampos pos)
- {
- if( bad() || bp->seekpos(pos, ios::out) == EOF )
- setstate(ios::failbit);
- return *this;
- }
-
-
-