Function
FwupdPluginstrstrip
since: 1.8.2
[−]
Description [src]
Removes leading and trailing whitespace from a constant string.
Available since: 1.8.2
[−]
Parameters
str
-
Type:
const gchar*
A string, e.g.
test
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
[−]
Return value
Type: gchar*
Newly allocated 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. |