I don’t think you can atomically append more than one byte to files in unixes (the write call can return after having written some but not all requested bytes)
(Haven’t googled, but if that’s possible, I don’t see why write would have that limitation)