dmi_match(9)

dmi_match9

Compare a string to the dmi field (if exists)

Usage

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

Arguments

f

DMI field identifier

str

string to compare the DMI field to

Overview

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

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.