Introduce .Lb macro to libkvm manpages.

Use .Pa macro for "enlighting" path
This commit is contained in:
phantom 2000-04-22 16:10:12 +00:00
parent 0ab35641b3
commit 46b3916daf
9 changed files with 19 additions and 1 deletions

View File

@ -42,13 +42,15 @@
.Sh NAME
.Nm kvm
.Nd kernel memory interface
.Sh LIBRARY
.Lb libkvm
.Sh DESCRIPTION
The
.Xr kvm 3
library provides a uniform interface for accessing kernel virtual memory
images, including live systems and crash dumps.
Access to live systems is via
/dev/mem
.Pa /dev/mem
while crash dumps can be examined via the core file generated by
.Xr savecore 8 .
The interface behaves identically in both cases.

View File

@ -42,6 +42,8 @@
.Sh NAME
.Nm kvm_geterr
.Nd get error message on kvm descriptor
.Sh LIBRARY
.Lb libkvm
.Sh SYNOPSIS
.Fd #include <kvm.h>
.br

View File

@ -42,6 +42,8 @@
.Sh NAME
.Nm kvm_getfiles
.Nd survey open files
.Sh LIBRARY
.Lb libkvm
.Sh SYNOPSIS
.Fd #include <kvm.h>
.Fd #include <sys/types.h>

View File

@ -38,6 +38,8 @@
.Sh NAME
.Nm kvm_getloadavg
.Nd get load average of the system
.Sh LIBRARY
.Lb libkvm
.Sh SYNOPSIS
.Fd #include <kvm.h>
.Ft int

View File

@ -44,6 +44,8 @@
.Nm kvm_getargv ,
.Nm kvm_getenvv
.Nd access user process state
.Sh LIBRARY
.Lb libkvm
.Sh SYNOPSIS
.Fd #include <kvm.h>
.Fd #include <sys/param.h>

View File

@ -12,6 +12,8 @@
.Sh NAME
.Nm kvm_getswapinfo
.Nd return swap summary statistics for the system
.Sh LIBRARY
.Lb libkvm
.Sh SYNOPSIS
.Fd #include <kvm.h>
.Ft int

View File

@ -42,6 +42,8 @@
.Sh NAME
.Nm kvm_nlist
.Nd retrieve symbol table names from a kernel image
.Sh LIBRARY
.Lb libkvm
.Sh SYNOPSIS
.Fd #include <kvm.h>
.Fd #include <nlist.h>

View File

@ -44,6 +44,8 @@
.Nm kvm_openfiles ,
.Nm kvm_close
.Nd initialize kernel virtual memory access
.Sh LIBRARY
.Lb libkvm
.Sh SYNOPSIS
.Fd #include <fcntl.h>
.Fd #include <kvm.h>

View File

@ -43,6 +43,8 @@
.Nm kvm_read ,
.Nm kvm_write
.Nd read or write kernel virtual memory
.Sh LIBRARY
.Lb libkvm
.Sh SYNOPSIS
.Fd #include <kvm.h>
.Ft ssize_t