On Wed, 5 Jul 2023 at 16:54, shuaitq via Libstdc++ <libstd...@gcc.gnu.org> wrote: > > the first parameter of fwrite should be the const char* __s which want write > to FILE *__file, > rather than the FILE *__file write to the FILE *__file.
Thank you. The patch is correct and small enough to not require a copyright assignment or DCO sign-off, so I'll commit it for you.