3 ms·
Is it possible to call lockf on an O_APPEND file?
by leni536 10y ago
Is it possible to call lockf on an O_APPEND file?
- rleigh 10y agoIt 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.