The exact return calls are at the discretion of the underlying VFS, but I'm pretty sure that EINTR is a possibility. Or, if it's not, then the flock() manpage should be amended accordingly, since the two share the same underlying implementation. index 80ce61f65..f83ae3b05 100644 --- a/man3/lockf.3 +++ b/man3/lockf.3 @@ -147,6 +147,11 @@ The command was .B F_LOCK and this lock operation would cause a deadlock. .TP +.B EINTR +While waiting to acquire a lock, the call was interrupted by +delivery of a signal caught by a handler; see +.BR signal (7). +.TP .B EINVAL An invalid operation was specified in .IR cmd .