SysTutorials

Linux Manual Pages › Section 3

stdistrstreamstr(3)

std::istrstream::str - std::istrstream::str

Synopsis

char *str();

Returns the pointer to the beginning of the buffer, after freezing it. Effectively calls rdbuf()->str()

Parameters

(none)

Return value

Pointer to the beginning of the buffer in the associated std::strsteambuf or NULL if no buffer is available.

Example

 This section is incomplete  Reason: no example