Function

FwupdPluginIOChannelopen_flags_to_string

Declaration [src]

gchar*
fu_io_channel_open_flags_to_string (
  FuIoChannelOpenFlags val
)

Description [src]

Converts an enumerated value to a string.

Parameters

val

Type: FuIoChannelOpenFlags

Value, e.g. FU_IO_CHANNEL_OPEN_FLAG_READ.

Return value

Type: gchar*

Identifier string.

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