Method

GpiodglibChipInfodup_label

Declaration

gchar*
gpiodglib_chip_info_dup_label (
  GpiodglibChipInfo* self
)

Description

Get the label of the chip as represented in the kernel.

Return value

Type: gchar*

Valid pointer to a human-readable string containing the chip label. The returned string is a copy and must be freed by the caller using g_free().

The caller of the method takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.