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]

Re: file locks in scanf


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.






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