From 46b3916daf4de930b788159f143fab5e5a65ef5e Mon Sep 17 00:00:00 2001 From: phantom Date: Sat, 22 Apr 2000 16:10:12 +0000 Subject: [PATCH] Introduce .Lb macro to libkvm manpages. Use .Pa macro for "enlighting" path --- lib/libkvm/kvm.3 | 4 +++- lib/libkvm/kvm_geterr.3 | 2 ++ lib/libkvm/kvm_getfiles.3 | 2 ++ lib/libkvm/kvm_getloadavg.3 | 2 ++ lib/libkvm/kvm_getprocs.3 | 2 ++ lib/libkvm/kvm_getswapinfo.3 | 2 ++ lib/libkvm/kvm_nlist.3 | 2 ++ lib/libkvm/kvm_open.3 | 2 ++ lib/libkvm/kvm_read.3 | 2 ++ 9 files changed, 19 insertions(+), 1 deletion(-) diff --git a/lib/libkvm/kvm.3 b/lib/libkvm/kvm.3 index 7647ca676081..5382ae3b7773 100644 --- a/lib/libkvm/kvm.3 +++ b/lib/libkvm/kvm.3 @@ -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. diff --git a/lib/libkvm/kvm_geterr.3 b/lib/libkvm/kvm_geterr.3 index bab730e75cb3..f3288c9b9165 100644 --- a/lib/libkvm/kvm_geterr.3 +++ b/lib/libkvm/kvm_geterr.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm kvm_geterr .Nd get error message on kvm descriptor +.Sh LIBRARY +.Lb libkvm .Sh SYNOPSIS .Fd #include .br diff --git a/lib/libkvm/kvm_getfiles.3 b/lib/libkvm/kvm_getfiles.3 index b8dc3b4170da..fd15ec1a1f59 100644 --- a/lib/libkvm/kvm_getfiles.3 +++ b/lib/libkvm/kvm_getfiles.3 @@ -42,6 +42,8 @@ .Sh NAME .Nm kvm_getfiles .Nd survey open files +.Sh LIBRARY +.Lb libkvm .Sh SYNOPSIS .Fd #include .Fd #include diff --git a/lib/libkvm/kvm_getloadavg.3 b/lib/libkvm/kvm_getloadavg.3 index 7df1847158e7..a6137fdc7dbc 100644 --- a/lib/libkvm/kvm_getloadavg.3 +++ b/lib/libkvm/kvm_getloadavg.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm kvm_getloadavg .Nd get load average of the system +.Sh LIBRARY +.Lb libkvm .Sh SYNOPSIS .Fd #include .Ft int diff --git a/lib/libkvm/kvm_getprocs.3 b/lib/libkvm/kvm_getprocs.3 index bd6bb74e9bb9..100a8b622dfb 100644 --- a/lib/libkvm/kvm_getprocs.3 +++ b/lib/libkvm/kvm_getprocs.3 @@ -44,6 +44,8 @@ .Nm kvm_getargv , .Nm kvm_getenvv .Nd access user process state +.Sh LIBRARY +.Lb libkvm .Sh SYNOPSIS .Fd #include .Fd #include diff --git a/lib/libkvm/kvm_getswapinfo.3 b/lib/libkvm/kvm_getswapinfo.3 index c749af2700fe..908566176732 100644 --- a/lib/libkvm/kvm_getswapinfo.3 +++ b/lib/libkvm/kvm_getswapinfo.3 @@ -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 .Ft int diff --git a/lib/libkvm/kvm_nlist.3 b/lib/libkvm/kvm_nlist.3 index b01930bd15b8..4aba1e53d795 100644 --- a/lib/libkvm/kvm_nlist.3 +++ b/lib/libkvm/kvm_nlist.3 @@ -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 .Fd #include diff --git a/lib/libkvm/kvm_open.3 b/lib/libkvm/kvm_open.3 index b79170873e7e..8ff197e61592 100644 --- a/lib/libkvm/kvm_open.3 +++ b/lib/libkvm/kvm_open.3 @@ -44,6 +44,8 @@ .Nm kvm_openfiles , .Nm kvm_close .Nd initialize kernel virtual memory access +.Sh LIBRARY +.Lb libkvm .Sh SYNOPSIS .Fd #include .Fd #include diff --git a/lib/libkvm/kvm_read.3 b/lib/libkvm/kvm_read.3 index f8d5e0a88fa2..183df72d252c 100644 --- a/lib/libkvm/kvm_read.3 +++ b/lib/libkvm/kvm_read.3 @@ -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 .Ft ssize_t