summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/msync.2
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1995-12-14 02:21:06 +0000
committerderaadt <deraadt@openbsd.org>1995-12-14 02:21:06 +0000
commit025f99edb58dde685af4fa39d88614f1815bb11d (patch)
treef4741ae2db36d5f3df399bf708f3471afde77bf0 /lib/libc/sys/msync.2
parentmake first arg of strtod/strtoq const (diff)
downloadwireguard-openbsd-025f99edb58dde685af4fa39d88614f1815bb11d.tar.xz
wireguard-openbsd-025f99edb58dde685af4fa39d88614f1815bb11d.zip
from netbsd:
add & fix a bunch of system call pages
Diffstat (limited to 'lib/libc/sys/msync.2')
-rw-r--r--lib/libc/sys/msync.27
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/sys/msync.2 b/lib/libc/sys/msync.2
index 6a90907d6ae..7feb4369ccd 100644
--- a/lib/libc/sys/msync.2
+++ b/lib/libc/sys/msync.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: msync.2,v 1.7 1995/02/27 10:41:44 cgd Exp $
+.\" $NetBSD: msync.2,v 1.8 1995/10/12 15:41:09 jtc Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -40,7 +40,10 @@
.Nm msync
.Nd synchronize a mapped region
.Sh SYNOPSIS
-.Fn msync "caddr_t addr" "int len"
+.Fd #include <sys/types.h>
+.Fd #include <sys/mman.h>
+.Ft int
+.Fn msync "caddr_t addr" "size_t len"
.Sh DESCRIPTION
The
.Fn msync