---
name: "dmi_match"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/dmi_match"
---

# dmi\_match(9)

compare a string to the dmi field (if exists)

## 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).

## COPYRIGHT
