basic_ostream::tellp

Returns the offset of the put pointer in an output stream.

pos_type tellp();

Return

If f ail() returns -1 else returns rdbuf()->pubseekoff(0, cur, out).

See Also

basic_istream::tellg, basic_ostream::seekp

Example of basic_ostream::tellp() usage see basic_ostream::seekp