Function

FwupdPlugincommon_strwidth

Declaration [src]

gsize
fu_common_strwidth (
  const gchar* text
)

Description [src]

Returns the width of the string in displayed characters on the console.

Available since:1.3.2

Parameters

text const gchar*
 

The string to operate on.

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

Return value

Returns: gsize
 

Width of text.