FreeBSD/lib/libkvm/kvm_private.h
/*
 * Functions used internally by kvm, but across kvm modules.
 */
Functions used internally by kvm, but across kvm modules.
Functions used internally by kvm but across kvm modules .
static inline uint32_t
_kvm32toh(kvm_t *kd, uint32_t val)
{
	if (kd->nlehdr.e_ident[EI_DATA] == ELFDATA2LSB)
		return (le32toh(val));
	else
		return (be32toh(val));
}
static inline uint32_t _kvm32toh ( kvm_t * kd , uint32_t val ) { if ( kd -> nlehdr . e_ident [ EI_DATA ] == ELFDATA2LSB ) return ( le32toh ( val ) ) ; else return ( be32toh ( val ) ) ; }
Functions used internally by kvm, but across kvm modules.
Functions used internally by kvm but across kvm modules .