dmi_walk(9)
dmi_walk - Walk the DMI table and get called back for every record
Synopsis
int dmi_walk(void (*decode)(const struct dmi_header *, void *), void *private_data);Arguments
decode
- Callback function
private_data
- Private data to be passed to the callback function
Description
Returns -1 when the DMI table can’t be reached, 0 on success.