basic_streambuf::sputn

To insert a series of characters into a stream.

int_type sputn(char_type *s, streamsize n);

Remarks

The function sputn() inserts a series of characters into a stream. After the operation, the get pointer references the character following the last character inserted.

Returns a streamsize type returned from a call to xputn(s,n).