diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-04-30 11:46:17 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-04-30 11:46:17 +0000 |
commit | 86001c1efda5237eff5afb69db7b65e1454143d1 (patch) | |
tree | 7de5894804245a9195222b33e0ded811e40260fe /share/man | |
parent | 3eb0bcd0c007ba8b8fa38664b0171e34aa16c502 (diff) |
FRELE returns an int not void. It is actually the return value
of fdrop() (or 0 if the ref count is non-zero). From Kanonenvogel
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/file.9 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/file.9 b/share/man/man9/file.9 index 7eba6a6ebb8..7ff402aa4b6 100644 --- a/share/man/man9/file.9 +++ b/share/man/man9/file.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: file.9,v 1.12 2013/06/04 19:27:06 schwarze Exp $ +.\" $OpenBSD: file.9,v 1.13 2015/04/30 11:46:16 millert Exp $ .\" .\" Copyright (c) 2002 Artur Grabowski <art@openbsd.org> .\" All rights reserved. @@ -22,7 +22,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 4 2013 $ +.Dd $Mdocdate: April 30 2015 $ .Dt FILE 9 .Os .Sh NAME @@ -37,7 +37,7 @@ .Fn fdrelease "struct proc *p" "int fd" .Ft void .Fn FREF "struct file *fp" -.Ft void +.Ft int .Fn FRELE "struct file *fp" "struct proc *p" .Ft struct file * .Fn fd_getfile "struct filedesc *fdp" "int fd" |