Question about the use of _newlib_flockfile_* in newlib

Bin.Cheng amker.cheng@gmail.com
Mon Dec 17 17:47:00 GMT 2012


Hi,
I have two questions on _newlib_flockfile_*.
1.
_fputc_r calls _putc_r to do the job, but both of them calls
_newlib_flockfile_*. Is it OK? Why if it is.

2. In most functions, the macro ORIENT() is guarded by
_newlib_flockfile_*, but it is not in _puts_r. Anything special or
just missed something?

Thanks for you help.

--
Best Regards.



More information about the Newlib mailing list