Function
GLibformat_size_full
since: 2.30
Declaration [src]
gchar*
g_format_size_full(
guint64size,
GFormatSizeFlagsflags
)
Description [src]
Formats a size.
This function is similar to g_format_size() but allows for flags
that modify the output. See GFormatSizeFlags.
Available since: 2.30
Parameters
size-
Type:
guint64A size in bytes.
flags-
Type:
GFormatSizeFlagsGFormatSizeFlagsto modify the output.
Return value
Type: gchar*
A newly-allocated formatted string containing a human readable file size.
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.