summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-13 14:10:05 +0000
committerbde <bde@FreeBSD.org>1997-04-13 14:10:05 +0000
commitc0329bd830c516ffeab270c1552b1e6ab3f357fd (patch)
tree381b88d1edd0c14084ba96b83bed36c5a39bfb55 /lib
parent999100fc3864186a24c3e8ddadee93f1ea879926 (diff)
downloadFreeBSD-src-c0329bd830c516ffeab270c1552b1e6ab3f357fd.zip
FreeBSD-src-c0329bd830c516ffeab270c1552b1e6ab3f357fd.tar.gz
Fixed #include and/or prototype bugs in synopsis.
Diffstat (limited to 'lib')
-rw-r--r--lib/libkvm/kvm_open.34
-rw-r--r--lib/libkvm/kvm_read.31
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/libkvm/kvm_open.3 b/lib/libkvm/kvm_open.3
index 7e604a1..93fe0f7 100644
--- a/lib/libkvm/kvm_open.3
+++ b/lib/libkvm/kvm_open.3
@@ -48,9 +48,9 @@
.Fd #include <kvm.h>
.br
.Ft kvm_t *
-.Fn kvm_open "const char *execfile" "const char *corefile" "char *swapfile" "int flags" "const char *errstr"
+.Fn kvm_open "const char *execfile" "const char *corefile" "const char *swapfile" "int flags" "const char *errstr"
.Ft kvm_t *
-.Fn kvm_openfiles "const char *execfile" "const char *corefile" "char *swapfile" "int flags" "char *errbuf"
+.Fn kvm_openfiles "const char *execfile" "const char *corefile" "const char *swapfile" "int flags" "char *errbuf"
.Ft int
.Fn kvm_close "kvm_t *kd"
.Sh DESCRIPTION
diff --git a/lib/libkvm/kvm_read.3 b/lib/libkvm/kvm_read.3
index b560959..1e8e3ad 100644
--- a/lib/libkvm/kvm_read.3
+++ b/lib/libkvm/kvm_read.3
@@ -43,6 +43,7 @@
.Nm kvm_write
.Nd read or write kernel virtual memory
.Sh SYNOPSIS
+.Fd #include <sys/types.h>
.Fd #include <kvm.h>
.Ft ssize_t
.Fn kvm_read "kvm_t *kd" "u_long addr" "void *buf" "size_t nbytes"
OpenPOWER on IntegriCloud