xref: /titanic_52/usr/src/man/man3lib/libkvm.3lib (revision 49d3bc91e27cd871b950d56c01398fa2f2e12ab4)
te
Copyright (c) 2003, Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
libkvm 3LIB "22 May 2003" "SunOS 5.11" "Interface Libraries"
NAME
libkvm - Kernel Virtual Memory access library
SYNOPSIS

cc [ flag... ] file... -lkvm [ library ... ]
#include <kvm.h>
DESCRIPTION

Functions in this library provide application access to kernel symbols, addresses and values. The individual functions are documented in Section 3KVM of the reference manual.

INTERFACES

The shared object libkvm.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

kvm_closekvm_getcmd
kvm_getprockvm_getu
kvm_kreadkvm_kwrite
kvm_nextprockvm_nlist
kvm_openkvm_read
kvm_setprockvm_uread
kvm_uwritekvm_write
FILES

/usr/lib/libkvm.so.1

shared object

/usr/lib/64/libkvm.so.1

64-bit shared object

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface Stability
kvm_read() and kvm_write() are Obsolete; the remaining functions are Stable.
MT-LevelUnsafe
SEE ALSO

pvs(1), Intro(3), attributes(5)