Are Those Functions Thread-safe, I.e. Fprintf() And Fflush() Home » CentOS » Are Those Functions Thread-safe, I.e. Fprintf() And Fflush() August 1, 2019 qw CentOS 1 Comment Hi, I have one question: Are those functions thread-safe, i.e. fprintf() and fflush() ? Thanks! Regard Andrew
August 1, 2019 qw CentOS 1 Comment Hi, I have one question: Are those functions thread-safe, i.e. fprintf() and fflush() ? Thanks! Regard Andrew
“man fprintf” has the answer. “yum install man-pages” if you do not have it installed already. Spoiler: yes, they are thread-safe, but fprintf may act strange if you change your locale while it is running. Regards.
One thought on - Are Those Functions Thread-safe, I.e. Fprintf() And Fflush()
“man fprintf” has the answer.
“yum install man-pages” if you do not have it installed already.
Spoiler: yes, they are thread-safe, but fprintf may act strange if you change your locale while it is running.
Regards.