Function

CuiCallformat_duration

Declaration [src]

char*
cui_call_format_duration (
  double duration
)

Description [src]

Formats the call duration as mm:ss or hh:mm:ss depending on the duration.

Parameters

duration

Type: double

The call duration.

Return value

Type: char*

The call duration as text.

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.