file locks in scanf

Artem B. Bityuckiy abityuckiy@yandex.ru
Thu Apr 1 17:00:00 GMT 2004


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?

Thanks in advance.

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



More information about the Newlib mailing list