Utility Functions
Utility Functions —
|
|
Details
thunar_vfs_humanize_size ()
gchar* thunar_vfs_humanize_size (ThunarVfsFileSize size,
gchar *buffer,
gsize buflen);
The caller is responsible to free the returned string using g_free()
if you pass NULL
for buffer
. Else the returned string will be a
pointer to buffer
.
size : |
size in bytes.
|
buffer : |
destination buffer or NULL to dynamically allocate a buffer.
|
buflen : |
length of buffer in bytes.
|
Returns : |
a string containing a human readable description of size .
|