FreeBSD/lib/libkvm/kvm_vnet.c
/*
 * Check whether the vnet module has been initialized successfully
 * or not, initialize it if permitted.
 */
Check whether the vnet module has been initialized successfully
or not, initialize it if permitted.
Check whether the vnet module has been initialized successfully or not initialize it if permitted .
int
_kvm_vnet_initialized(kvm_t *kd, int intialize)
{
	if (kd->vnet_initialized || !intialize)
		return (kd->vnet_initialized);
	(void) _kvm_vnet_selectpid(kd, getpid());
	return (kd->vnet_initialized);
}
int _kvm_vnet_initialized ( kvm_t * kd , int intialize ) { if ( kd -> vnet_initialized || ! intialize ) return ( kd -> vnet_initialized ) ; ( void ) _kvm_vnet_selectpid ( kd , getpid ( ) ) ; return ( kd -> vnet_initialized ) ; }
Check whether the vnet module has been initialized successfully
 or not, initialize it if permitted.
Check whether the vnet module has been initialized successfully or not initialize it if permitted .