This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Question about the use of _newlib_flockfile_* in newlib
- From: "Bin.Cheng" <amker dot cheng at gmail dot com>
- To: newlib at sourceware dot org
- Date: Mon, 17 Dec 2012 10:06:52 +0800
- Subject: Question about the use of _newlib_flockfile_* in newlib
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.