summaryrefslogtreecommitdiff
path: root/usr/src/man/man2/fcntl.2
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man2/fcntl.2')
-rw-r--r--usr/src/man/man2/fcntl.243
1 files changed, 29 insertions, 14 deletions
diff --git a/usr/src/man/man2/fcntl.2 b/usr/src/man/man2/fcntl.2
index 21b6dd64d5..f178315525 100644
--- a/usr/src/man/man2/fcntl.2
+++ b/usr/src/man/man2/fcntl.2
@@ -290,7 +290,7 @@ one is returned is unspecified. If the blocking lock is an OFD-style lock,
.ad
.RS 14n
Equivalent to \fBF_GETLK\fR, but takes a \fBstruct flock64\fR argument rather
-than a \fBstruct flock\fR argument. See \fBlf64\fR(5).
+than a \fBstruct flock\fR argument. See \fBlf64\fR(7).
.RE
.sp
@@ -316,7 +316,7 @@ return value of \fB\(mi1\fR\&.
.ad
.RS 14n
Equivalent to \fBF_SETLK\fR, but takes a \fBstruct flock64\fR argument rather
-than a \fBstruct flock\fR argument. See \fBlf64\fR(5).
+than a \fBstruct flock\fR argument. See \fBlf64\fR(7).
.RE
.sp
@@ -340,7 +340,7 @@ set to \fBEINTR\fR, and the lock operation will not be done.
.ad
.RS 14n
Equivalent to \fBF_SETLKW\fR, but takes a \fBstruct flock64\fR argument rather
-than a \fBstruct flock\fR argument. See \fBlf64\fR(5).
+than a \fBstruct flock\fR argument. See \fBlf64\fR(7).
.RE
.sp
@@ -351,7 +351,7 @@ supported for other files. See the FILE LOCKING section of this manual page for
information about the types of file locks available and their interaction.
OFD-style record locks are currently limited to spanning the entire file and
these locks are currently not supported over remote file systems (e.g.
-\fBnfs\fR(4)) which use the Network Lock Manager.
+\fBnfs\fR(5)) which use the Network Lock Manager.
.sp
.ne 2
.na
@@ -376,7 +376,7 @@ one is returned is unspecified. If the blocking lock is an OFD-style lock,
.ad
.RS 14n
Equivalent to \fBF_OFD_GETLK\fR, but takes a \fBstruct flock64\fR argument
-rather than a \fBstruct flock\fR argument. See \fBlf64\fR(5). This command
+rather than a \fBstruct flock\fR argument. See \fBlf64\fR(7). This command
exists solely to allow the use of OFD locks with the transitional 64-bit file
interfaces.
.RE
@@ -404,7 +404,7 @@ immediately with a return value of \fB\(mi1\fR\&.
.ad
.RS 14n
Equivalent to \fBF_OFD_SETLK\fR, but takes a \fBstruct flock64\fR argument
-rather than a \fBstruct flock\fR argument. See \fBlf64\fR(5). This command
+rather than a \fBstruct flock\fR argument. See \fBlf64\fR(7). This command
exists solely to allow the use of OFD locks with the transitional 64-bit file
interfaces.
.RE
@@ -430,7 +430,7 @@ with \fBerrno\fR set to \fBEINTR\fR, and the lock operation will not be done.
.ad
.RS 14n
Equivalent to \fBF_OFD_SETLKW\fR, but takes a \fBstruct flock64\fR argument
-rather than a \fBstruct flock\fR argument. See \fBlf64\fR(5). This command
+rather than a \fBstruct flock\fR argument. See \fBlf64\fR(7). This command
exists solely to allow the use of OFD locks with the transitional 64-bit file
interfaces.
.RE
@@ -1142,7 +1142,7 @@ detected.
.SH ATTRIBUTES
.LP
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -1159,11 +1159,26 @@ MT-Level Async-Signal Safe
.SH SEE ALSO
.LP
-\fBlockd\fR(1M), \fBchmod\fR(2), \fBclose\fR(2), \fBcreat\fR(2), \fBdup\fR(2),
-\fBexec\fR(2), \fBfork\fR(2), \fBmmap\fR(2), \fBopen\fR(2), \fBpipe\fR(2),
-\fBread\fR(2), \fBsigaction\fR(2), \fBwrite\fR(2), \fBdup2\fR(3C),
-\fBflock\fR(3C), \fBlockf\fR(3C), \fBfcntl.h\fR(3HEAD), \fBattributes\fR(5),
-\fBlf64\fR(5), \fBstandards\fR(5)
+.BR chmod (2),
+.BR close (2),
+.BR creat (2),
+.BR dup (2),
+.BR exec (2),
+.BR fork (2),
+.BR mmap (2),
+.BR open (2),
+.BR pipe (2),
+.BR read (2),
+.BR sigaction (2),
+.BR write (2),
+.BR dup2 (3C),
+.BR flock (3C),
+.BR lockf (3C),
+.BR fcntl.h (3HEAD),
+.BR attributes (7),
+.BR lf64 (7),
+.BR standards (7),
+.BR lockd (8)
.sp
.LP
\fIProgramming Interfaces Guide\fR
@@ -1196,6 +1211,6 @@ meaningful.
.sp
.LP
If the file server crashes and has to be rebooted, the lock manager (see
-\fBlockd\fR(1M)) attempts to recover all locks that were associated with that
+\fBlockd\fR(8)) attempts to recover all locks that were associated with that
server. If a lock cannot be reclaimed, the process that held the lock is issued
a \fBSIGLOST\fR signal.