diff options
| author | Guy Helmer <ghelmer@FreeBSD.org> | 1999-05-04 17:49:49 +0000 |
|---|---|---|
| committer | Guy Helmer <ghelmer@FreeBSD.org> | 1999-05-04 17:49:49 +0000 |
| commit | 9b11d1ffaff3cb0e369a9e6811a755be66ede74f (patch) | |
| tree | 73c7f8af864775d06d73f39fddf60aca89ece937 /lib/libc/sys | |
| parent | 41bfb6539404f7d94977ed16b629cd9e880d52da (diff) | |
Notes
Diffstat (limited to 'lib/libc/sys')
| -rw-r--r-- | lib/libc/sys/close.2 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/sys/close.2 b/lib/libc/sys/close.2 index 1a66e39edc1b..8dcfeeb4c0d4 100644 --- a/lib/libc/sys/close.2 +++ b/lib/libc/sys/close.2 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)close.2 8.2 (Berkeley) 4/19/94 -.\" $Id$ +.\" $Id: close.2,v 1.8 1997/02/22 15:03:47 peter Exp $ .\" .Dd April 19, 1994 .Dt CLOSE 2 @@ -59,6 +59,14 @@ associated naming information and queued data are discarded; on the last close of a file holding an advisory lock the lock is released (see further .Xr flock 2 ) . +However, the semantics of System V and +.St -p1003.1-88 +dictate that all +.Xr fcntl 2 +advisory record locks associated with a file for a given process +are removed when +.Em any +file descriptor for that file is closed by that process. .Pp When a process exits, all associated file descriptors are freed, but since there is |
