What he's saying is that as long as you don't mix usage of stdio and raw write(2), you won't have any interleaving problem; because there's a lock, which is why _unlocked variants exist.
that is correct in its own sphere of applicability, but incorrect in the scenario i was discussing, with entirely separate processes writing to the file, since that's the usual case on unix, because each process has a separate lock
(amelius, however, did mention the possibility of multiple threads!)
it also wasn't what they were saying
this thread is starting to remind me of the 'i'm not your buddy, pal' cascades from reddit
(amelius, however, did mention the possibility of multiple threads!)
it also wasn't what they were saying
this thread is starting to remind me of the 'i'm not your buddy, pal' cascades from reddit