Function

FwupdPlugincommon_strtoull

since: 1.1.2

Declaration [src]

guint64
fu_common_strtoull (
  const gchar* str
)

Description [src]

Converts a string value to an integer. Values are assumed base 10, unless prefixed with “0x” where they are parsed as base 16.

Available since: 1.1.2

Parameters

str

Type: const gchar*

A string, e.g. 0x1234

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: guint64

Integer value, or 0x0 for error.