3 ms·
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
by rleigh 10y ago
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.