FreeBSD/sys/dev/ofw/openfirm.c
/* Check existence of a property of a package. */
Check existence of a property of a package.
Check existence of a property of a package .
int
OF_hasprop(phandle_t package, const char *propname)
{
	return (OF_getproplen(package, propname) >= 0 ? 1 : 0);
}
int OF_hasprop ( phandle_t package , const char * propname ) { return ( OF_getproplen ( package , propname ) >= 0 ? 1 : 0 ) ; }
Check existence of a property of a package.
Check existence of a property of a package .