LIBDEVID(3LIB) Interface Libraries LIBDEVID(3LIB)

libdevid - device ID library

cc [ flag... ] file... -ldevid [ library... ]
#include <devid.h>

Functions in this library provide unique device IDs for identifying a device, independent of the device name or device number.

The shared object libdevid.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

devid_compare devid_deviceid_to_nmlist
devid_free devid_free_nmlist
devid_get devid_get_minor_name
devid_sizeof devid_str_decode
devid_str_encode devid_str_free
devid_valid

/lib/libdevid.so.1
shared object.

/lib/64/libdevid.so.1

64-bit shared object.

See attributes(5) for description of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Stable
MT-Level MT−Safe

pvs(1), Intro(3), attributes(5)

March 24, 2004 OmniOS