Question about the use of _newlib_flockfile_* in newlib

Mon Dec 17 17:47:00 GMT 2012

I have two questions on _newlib_flockfile_*.
_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