summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2008-06-30 05:59:19 +0000
committerotto <otto@openbsd.org>2008-06-30 05:59:19 +0000
commitba49bbd97ff39e3e8ba92be2e57f609922adbd43 (patch)
tree4c46c924d9dc042cfed06c5fc9677ad10316a269 /lib/libc/sys
parentxref mquery (diff)
downloadwireguard-openbsd-ba49bbd97ff39e3e8ba92be2e57f609922adbd43.tar.xz
wireguard-openbsd-ba49bbd97ff39e3e8ba92be2e57f609922adbd43.zip
document that mquery(2) is non-standard; hint and ok deraadt@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/mquery.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/mquery.2 b/lib/libc/sys/mquery.2
index f8ff49ffa52..e26f7f5235c 100644
--- a/lib/libc/sys/mquery.2
+++ b/lib/libc/sys/mquery.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mquery.2,v 1.8 2007/05/31 19:19:33 jmc Exp $
+.\" $OpenBSD: mquery.2,v 1.9 2008/06/30 05:59:19 otto Exp $
.\"
.\" Copyright (c) 2003 Artur Grabowski <art@openbsd.org>
.\" All rights reserved.
@@ -23,7 +23,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: June 30 2008 $
.Dt MQUERY 2
.Os
.Sh NAME
@@ -122,6 +122,10 @@ is not a valid open file descriptor.
.El
.Sh SEE ALSO
.Xr mmap 2
+.Sh STANDARDS
+The
+.Fn mquery
+function should not be used in portable applications.
.Sh HISTORY
The
.Fn mquery