To avert the problems associated with the file locking mechanism, POSIX introduced record locking via the fcntl() syscall (the pre-POSIX lockf() and flock() syscalls provide the same functionality but ...