This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]