News for hackers. Stuff that matters.
Re:Appending to a file from multiple processes by leni536 on Wednesday August 03, 2016 @03:46PM (#12220912)
Is it possible to call lockf on an O_APPEND file?
Re:Appending to a file from multiple processes by rleigh on Thursday August 04, 2016 @02:10PM (#12227369)
It should work just fine. But since the current offset will always be changing, you might want to lock the entire file and fcntl has a more flexible interface for doing that.