strstream::freeze

void freeze(bool frz = true)

The member function calls rdbuf()-> freeze(zfrz).