file locks in scanf

Artem B. Bityuckiy
Thu Apr 1 17:00:00 GMT 2004


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?

Thanks in advance.

Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

More information about the Newlib mailing list