Function

FwupdPlugincommon_strtoull

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 const gchar*
 

A string, e.g. 0x1234

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

Return value

Returns: guint64
 

Integer value, or 0x0 for error.