Function

Purplestr_seconds_to_string

Declaration [src]

char*
purple_str_seconds_to_string (
  guint sec
)

Description [src]

Converts seconds into a human-readable form.

Parameters

sec guint
 

The seconds.

Return value

Returns: char*
 

A human-readable form, containing days, hours, minutes, and seconds.

 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.