Method

GpiodglibChipdup_path

Declaration

gchar*
gpiodglib_chip_dup_path (
  GpiodglibChip* self
)

Description

Get the filesystem path that was used to open this GPIO chip.

Return value

Type: gchar*

Path to the underlying character device file. The string is a copy and must be freed by the caller with 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.