Manual Reference Pages - KVM_WRITE (3)
- read or write kernel virtual memory
kvm_read kvm_t *kd unsigned long addr void *buf size_t nbytes
kvm_write kvm_t *kd unsigned long addr const void *buf size_t nbytes
functions are used to read and write kernel virtual memory (or a crash
for information regarding opening kernel virtual memory and crash dumps.
bytes of data from
the kernel space address
transfers data from
Unlike their SunOS counterparts, these functions cannot be used to
read or write process address spaces.
Upon success, the number of bytes actually transferred is returned.
Otherwise, -1 is returned.
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.