This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
file locks in scanf
- From: "Artem B. Bityuckiy" <abityuckiy at yandex dot ru>
- To: newlib at sources dot redhat dot com
- Date: Thu, 01 Apr 2004 18:18:06 +0400
- Subject: file locks in scanf
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.