summaryrefslogtreecommitdiff
path: root/lib/libc/sys/msync.2
diff options
context:
space:
mode:
authoryamt <yamt@NetBSD.org>2002-08-11 14:44:33 +0000
committeryamt <yamt@NetBSD.org>2002-08-11 14:44:33 +0000
commitd536e5ccae0789655fc7113d84a647deb36f7b2e (patch)
tree28d4264e51a1a250d46d73b2cefb2d098c5c10a1 /lib/libc/sys/msync.2
parente8cb4f166ccf9e706a6cc74be170c6710ebc4d36 (diff)
add RETURN VALUES section.
from OpenBSD.
Diffstat (limited to 'lib/libc/sys/msync.2')
-rw-r--r--lib/libc/sys/msync.210
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libc/sys/msync.2 b/lib/libc/sys/msync.2
index 638cade1527..351f6c12fa6 100644
--- a/lib/libc/sys/msync.2
+++ b/lib/libc/sys/msync.2
@@ -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 @@ the following values
.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