Module Name: src
Committed By: uwe
Date: Tue Jul 26 00:25:45 UTC 2022
Modified Files:
src/lib/libc/sys: mincore.2
Log Message:
mincore(2) - use .Rv -std
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/sys/mincore.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/mincore.2
diff -u src/lib/libc/sys/mincore.2:1.20 src/lib/libc/sys/mincore.2:1.21
--- src/lib/libc/sys/mincore.2:1.20 Mon Jul 25 22:50:42 2022
+++ src/lib/libc/sys/mincore.2 Tue Jul 26 00:25:45 2022
@@ -1,4 +1,4 @@
-.\" $NetBSD: mincore.2,v 1.20 2022/07/25 22:50:42 riastradh Exp $
+.\" $NetBSD: mincore.2,v 1.21 2022/07/26 00:25:45 uwe Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -65,10 +65,7 @@ In order to guarantee
that pages will remain in core, the address range must be locked with
.Xr mlock 2 .
.Sh RETURN VALUES
-.Fn mincore
-returns 0 on success, or \-1 on failure and sets the variable
-.Va errno
-to indicate the error.
+.Rv -std mincore
.Sh ERRORS
The
.Fn mincore