SYNOPSISIn geom/geom.h Ft struct g_provider * Fn g_provider_by_name const char *name
DESCRIPTIONThe Fn g_provider_by_name function searches for a provider called Fa name and returns the structure Vt g_provider bound to it. Argument Fa name should be a name, not a full path (i.e., ``da0 '' instead of ``/dev/da0 ''
RESTRICTIONS/CONDITIONSThe topology lock has to be held.
RETURN VALUESThe Fn g_provider_by_name function returns a pointer to the provider called Fa name or NULL if there is no such provider.
AUTHORSAn -nosplit This manual page was written by An Pawel Jakub Dawidek Aq [email protected] .