summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/stdio_ext.h
Commit message (Collapse)AuthorAgeFilesLines
* * libc/include/stdio.h (__SNLK): Define.Yaakov Selkowitz2014-12-151-1/+5
| | | | | | | | | | | | | | | * libc/include/stdio_ext.h (FSETLOCKING_QUERY, FSETLOCKING_INTERNAL, FSETLOCKING_BYCALLER): Define. (__fsetlocking): Declare. * libc/stdio/Makefile.am: Build fsetlocking.c. * libc/stdio/Makefile.in: Regenerate. * libc/stdio/fsetlocking.c: New file. * libc/stdio/local.h (_newlib_flockfile_start): Make _flockfile call dependent on __SNLK flag. (_newlib_flockfile_exit, _newlib_flockfile_end): Ditto for _funlockfile calls. Define all locking macros as empty if __SINGLE_THREAD__. * libc/stdio/stdio.tex: Include fsetlocking.def.
* * libc/include/stdio_ext.h: Rename __fwriteable to __fwritable.Yaakov Selkowitz2014-12-111-2/+14
| | | | | | | | | | [!__GNUC__]: Declare real functions for the macros, and make the macros conditional on !__cplusplus. * libc/stdio/Makefile.am (ELIX_4_SOURCES): Add stdio_ext.c. (CHEWOUT_FILES): Add stdio_ext.def. * libc/stdio/Makefile.in: Regenerate. * libc/stdio/stdio.tex: Include stdio_ext.def. * libc/stdio/stdio_ext.c: New file.
* * libc/include/stdio_ext.h: Remove excess "inline".Corinna Vinschen2014-12-101-7/+7
|
* * libc/include/stdio_ext.h (__fbufsize): Define as inline function forCorinna Vinschen2013-08-021-0/+41
| | | | | | | | | | gcc, as macro otherwise. (__freading): Ditto. (__fwriting): Ditto. (__freadable): Ditto. (__fwriteable): Ditto. (__flbf): Ditto. (__fpending): Ditto.
* * libc/include/stdio_ext.h: New header.Yaakov Selkowitz2011-05-191-0/+22
* libc/stdio/fpurge.c [!__rtems__] (__fpurge): New function.