basic_ios::fill

E fill() const;
E fill(E ch);

The first member function returns the stored fill character. The second member function stores ch in the fill character and returns its previous stored value.