ostream::tellp

Syntax

streampos tellp();

Remarks

Gets the position value for the stream. Not all derived classes of ostream need support positioning. For file streams, the position is the byte offset from the beginning of the file; for string streams, it is the byte offset from the beginning of the string. Gets the value for the stream's put pointer.

Return Value

A streampos type that corresponds to a long.

See Also

ostream::seekp, istream::tellg, istream::seekg