Hello All...
I just want to know if fwrite() instruction is atomic.
Because I have to write logs into a file rather than in a database, I must fwrite() strings ; so if it's not atomic, it's quite not good, and I must use flock().
If it is, I won't have to flock() so it would probably be faster.
Anyone can help ?