diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-08-23 19:48:39 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-08-23 19:48:39 +0000 |
commit | b384e85014c8970773b255f11530482e7110ccfb (patch) | |
tree | a75c9cf9b40885678b86ebfb72128420051c8ba6 /share/man/man9 | |
parent | b597e7c2980e989370ead7abcdf692ae31239bb4 (diff) |
Document the FREF done in getvnode and soon in getsock.
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/file.9 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/share/man/man9/file.9 b/share/man/man9/file.9 index 5bd556d3fcf..939ad124e45 100644 --- a/share/man/man9/file.9 +++ b/share/man/man9/file.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: file.9,v 1.3 2002/08/23 16:13:49 mpech Exp $ +.\" $OpenBSD: file.9,v 1.4 2002/08/23 19:48:38 art Exp $ .\" .\" Copyright (c) 2002 Artur Grabowski <art@openbsd.org> .\" All rights reserved. @@ -84,8 +84,9 @@ and .Fn getvnode are special cases that besides doing .Fn fd_getfile -also check if the descriptor is a vnode or socket and return the proper -errno on error. +also check if the descriptor is a vnode or socket, return the proper +errno on error and increase the use count with +.Fn FREF . .Sh CONCURRENT ACCESS Since multiple processes can share the same file descriptor table it's important that the file is not freed in one process while some |