stdio_ext(3) Library Functions Manual stdio_ext(3) __fbufsize, __flbf, __fpending, __fpurge, __freadable, __freading, __fsetlocking, __fwritable, __fwriting, _flushlbf - / (libc -lc) #include #include size_t __fbufsize(FILE *stream); size_t __fpending(FILE *stream); int __flbf(FILE *stream); int __freadable(FILE *stream); int __fwritable(FILE *stream); int __freading(FILE *stream); int __fwriting(FILE *stream); int __fsetlocking(FILE *stream, int type); void _flushlbf(void); void __fpurge(FILE *stream); Solaris FILE glibc . __fbufsize() . __fpending() . . . __flbf() . __freadable() . __fwritable() . __freading() . __fwriting() ( ) . __fsetlocking() . . type : FSETLOCKING_INTERNAL ( *_unlocked). . FSETLOCKING_BYCALLER ( flockfile(3) ) stdio FSETLOCKING_INTERNAL. FSETLOCKING_QUERY . ( .) _flushlbf() . ( .) __fpurge() . attributes(7). +-----------+------------------------------------+---------------------+ || | | +-----------+------------------------------------+---------------------+ |__fbufsize(),| | MT-Safe race:stream | |__fpending(),| | | |__fpurge(),| | | |__fsetlocking()| | | +-----------+------------------------------------+---------------------+ |__flbf(), | | MT-Safe | |__freadable(),| | | |__freading(),| | | |__fwritable(),| | | |__fwriting(),| | | |_flushlbf()| | | +-----------+------------------------------------+---------------------+ flockfile(3) fpurge(3) 3 . . : . 6.18 8 2026 stdio_ext(3)