Manual Pages for UNIX Darwin command on man kvm_geterr
MyWebUniversity

Manual Pages for UNIX Darwin command on man kvm_geterr

KVMGETERR(3) BSD Library Functions Manual KVMGETERR(3)

NAME

kkvvmmggeetteerrrr - get error message on kvm descriptor

SYNOPSIS

##iinncclluuddee <>

char * kkvvmmggeetteerrrr(kvmt *kd);

DESCRIPTION

This function returns a string describing the most recent error condition on the descriptor kd. The results are undefined if the most recent kvm(3) library call did not produce an error. The string returned is stored in memory owned by kvm(3) so the message should be copied out and saved elsewhere if necessary.

BUGS

This routine cannot be used to access error conditions due to a failed kkvvmmooppeennffiilleess() call, since failure is indicated by returning a NULL descriptor. Therefore, errors on open are output to the special error buffer passed to kkvvmmooppeennffiilleess(). This option is not available to kkvvmmooppeenn().

SEE ALSO

kvm(3), kvmclose(3), kvmgetargv(3), kvmgetenvv(3), kvmgetprocs(3), kvmnlist(3), kvmopen(3), kvmopenfiles(3), kvmread(3), kvmwrite(3) BSD June 4, 1993 BSD




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™