Name

dmi_match — compare a string to the dmi field (if exists)

Synopsis

bool dmi_match (enum dmi_field f, const char * str);

Arguments

f

DMI field identifier

str

string to compare the DMI field to

Description

Returns true if the requested field equals to the str (including NULL).