linux - Does vprintf thread safe in c language? -


i writing 1 application using on library using vprintf print information. same way using vprintf application.

in scenario vprintf not working.

you provide more information in regards mere

in scenario vprintf not working

anyways, vprintf() thread-safe function has limitation read following write or write following read there must flush work done. may flushing solve problem you.

for vprintf() arg_ptr of type va_list points list of arguments, initialing arguments va_start() each call of vprintf() should resolve issue. also, can control increment of ar_ptr after each vprintf() call means of va_end()


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -