Previous topic

Utils

Next topic

Memory Allocation

Time FunctionsΒΆ

Time related functions and definitions.

char *s_strtime(s_erc *error)

Get the current time as a string.

Parameters:
  • error

    Error code.

Return:

Pointer to a string buffer of the current time. Returns a full representation of the data and time, for example:

 Tue 03 Nov 2009 13:12:54 SAST

Note:

Caller is responsible for memory of returned string buffer.