bsl::basic_stringbuf::sputn

Entry point for all single-character output functions.

Synopsis

Declared in <bslstl_stringbuf.h>

streamsize
sputn(
    char_type const* __s,
    streamsize __n);

Description

One of two public output functions.

Returns xsputn(__s,__n). The effect is to write __s[0] through __s[] to the output sequence, if possible.

Parameters

NameDescription
__sA buffer read area.
__nA count.