Go to the source code of this file.
Function Documentation
| void format_elapsed |
( |
char * |
buffer, |
|
|
size_t |
buflen, |
|
|
time_t |
number_of_seconds |
|
) |
| |
The format_elapsed function is used to format an elapsed number of seconds into a (terse) human readable string.
- Parameters:
-
| buffer | The buffer into which the string is to be formatted. |
| buflen | The size of the buffer in bytes. The result string will never use more than this many bytes. It includes the terminating NUL character. |
| number_of_seconds | The number of seconds to be formatted. |
The format_elapsed function is used to format an elapsed number of seconds into a (terse) human readable string.
- Parameters:
-
| number_of_seconds | The number of seconds to be formatted. |
- Returns:
- a string containing the elapsed time