ends

template class<E, T>
    basic_ostream<E, T>& ends(basic_ostream<E, T> os);

The manipulator calls os.put(E('\0')). It returns os.