fpurge(3) Library Functions Manual fpurge(3) fpurge, __fpurge - (libc -lc) /* unsupported */ #include int fpurge(FILE *stream); /* supported */ #include #include void __fpurge(FILE *stream); fpurge() . . getc(3) ungetc(3). fflush(3). __fpurge() . fpurge() 0. -1 errno . EBADF stream . attributes(7). +-----------+------------------------------------+---------------------+ || | | +-----------+------------------------------------+---------------------+ |__fpurge() | | MT-Safe race:stream | +-----------+------------------------------------+---------------------+ . fpurge() 4.4BSD. . __fpurge() glibc 2.1.95. . fflush(3), setbuf(3), stdio_ext(3) 3 . . : . 6.18 8 2026 fpurge(3)