file locks in scanf

Jeff Johnston jjohnstn@redhat.com
Fri Apr 2 01:07:00 GMT 2004


Artem B. Bityuckiy wrote:
> Hello!
> 
> Why there are no _flockfile(fp)/_funlockfile(fp) calls in scanf/vfscanv 
> functions? It seems to me that these functions should be protected too 
> (like, for example, vfprinft). Why Newlib developers didn't use file 
> locks in scanf family?
> 
>

It is an oversight.  I'll take care of it.

-- Jeff J.







More information about the Newlib mailing list