bsl::basic_syncbuf::sgetn

Entry point for xsgetn.

Synopsis

Declared in <bslstl_syncbuf.h>

streamsize
sgetn(
    char_type* __s,
    streamsize __n);

Description

Returns xsgetn(__s,__n). The effect is to fill __s[0] through __s[] with characters from the input sequence, if possible.

Parameters

NameDescription
__sA buffer area.
__nA count.