Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys add RETURN VALUES section.



details:   https://anonhg.NetBSD.org/src/rev/8ef923638ad7
branches:  trunk
changeset: 535183:8ef923638ad7
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sun Aug 11 14:44:33 2002 +0000

description:
add RETURN VALUES section.
from OpenBSD.

diffstat:

 lib/libc/sys/msync.2 |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r b91334401340 -r 8ef923638ad7 lib/libc/sys/msync.2
--- a/lib/libc/sys/msync.2      Sun Aug 11 14:43:52 2002 +0000
+++ b/lib/libc/sys/msync.2      Sun Aug 11 14:44:33 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: msync.2,v 1.17 2002/02/08 01:28:19 ross Exp $
+.\"    $NetBSD: msync.2,v 1.18 2002/08/11 14:44:33 yamt Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -33,7 +33,7 @@
 .\"
 .\"    @(#)msync.2     8.2 (Berkeley) 6/21/94
 .\"
-.Dd October 10, 1997
+.Dd August 11, 2002
 .Dt MSYNC 2
 .Os
 .Sh NAME
@@ -82,6 +82,12 @@
 .It Dv MS_SYNC Ta Perform synchronous writes.
 .It Dv MS_INVALIDATE Ta Invalidate cached data after writing.
 .El
+.Sh RETURN VALUES
+Upon successful completion,
+a value of 0 is returned.
+Otherwise, a value of -1 is returned and
+.Va errno
+is set to indicate the error.
 .Sh ERRORS
 The following errors may be reported:
 .Bl -tag -width Er



Home | Main Index | Thread Index | Old Index