]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/lockf.3
Wrapped long lines, wrapped at sentence boundaries; stripped trailing
[thirdparty/man-pages.git] / man3 / lockf.3
index 8b9a45e7c3cd9bebe2cecf02bb4a607e47fd78ae..049030f7a18f9a05d8f77c9ed7b18847081d186e 100644 (file)
@@ -65,8 +65,8 @@ blocks until the previous lock is released.
 If this section overlaps an earlier locked section,
 both are merged.
 File locks are released as soon as the process holding the locks
-closes some file descriptor for the file. A child process does not
-inherit these locks.
+closes some file descriptor for the file.
+A child process does not inherit these locks.
 .TP
 .B F_TLOCK
 Same as
@@ -83,12 +83,13 @@ Test the lock: return 0 if the specified section
 is unlocked or locked by this process; return \-1, set
 .I errno
 to
-.BR EAGAIN 
+.BR EAGAIN
 .RB ( EACCES
 on some other systems),
 if another process holds a lock.
 .SH "RETURN VALUE"
-On success, zero is returned.  On error, \-1 is returned, and
+On success, zero is returned.
+On error, \-1 is returned, and
 .I errno
 is set appropriately.
 .SH ERRORS