Is fwrite() atomic when applied to multiple FILE*, same file descriptor?
using fileno() to get the actual file descriptor of stdout. using fdopen() to create two different FILE* structure, named a and b. creating two threads, name A and B, using fwrite() to write some contents to a and b. Question: Is this operation correct, or recommended? If A thread is writing 123, B thread is […]