Fixed #include and/or prototype bugs in synopsis.

This commit is contained in:
Bruce Evans 1997-04-13 14:10:05 +00:00
parent 70038b40f8
commit 77667e9e45
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24885
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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"