Method

GpiodglibChipInfodup_name

Declaration

gchar*
gpiodglib_chip_info_dup_name (
  GpiodglibChipInfo* self
)

Description

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

Return value

Type: gchar*

Valid pointer to a human-readable string containing the chip name. 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.