diff options
Diffstat (limited to 'lib/libkvm/kvm_open.3')
-rw-r--r-- | lib/libkvm/kvm_open.3 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libkvm/kvm_open.3 b/lib/libkvm/kvm_open.3 index b624b3c..c22c49c 100644 --- a/lib/libkvm/kvm_open.3 +++ b/lib/libkvm/kvm_open.3 @@ -58,10 +58,10 @@ .Sh DESCRIPTION The functions .Fn kvm_open -and +and .Fn kvm_openfiles return a descriptor used to access kernel virtual memory -via the +via the .Xr kvm 3 library routines. Both active kernels and crash dumps are accessible through this interface. @@ -75,9 +75,9 @@ the currently running system is assumed, as determined from .Xr getbootfile 3 . .Pp -.Fa corefile +.Fa corefile is the kernel memory device file. It can be either /dev/mem -or a crash dump core generated by +or a crash dump core generated by .Xr savecore 8 . If .Fa corefile @@ -94,7 +94,7 @@ should indicate the swap device. If from <paths.h> is used. .Pp The -.Fa flags +.Fa flags argument indicates read/write access as in .Xr open 2 and applies only to the core file. @@ -105,7 +105,7 @@ and .Dv O_RDWR are permitted. .Pp -There are two open routines which differ only with respect to +There are two open routines which differ only with respect to the error mechanism. One provides backward compatibility with the SunOS kvm library, while the other provides an improved error reporting framework. @@ -116,11 +116,11 @@ function is the Sun kvm compatible open call. Here, the .Fa errstr argument indicates how errors should be handled. If it is .Dv NULL , -no errors are reported and the application cannot know the +no errors are reported and the application cannot know the specific nature of the failed kvm call. If it is not .Dv NULL , -errors are printed to stderr with +errors are printed to stderr with .Fa errstr prepended to the message, as in .Xr perror 3 . @@ -156,7 +156,7 @@ argument. This buffer should be _POSIX2_LINE_MAX characters large (from .Sh RETURN VALUES The .Fn kvm_open -and +and .Fn kvm_openfiles functions both return a descriptor to be used in all subsequent kvm library calls. @@ -165,7 +165,7 @@ On failure, .Dv NULL is returned, in which case .Fn kvm_openfiles -writes the error message into +writes the error message into .Fa errbuf . .Pp The |