fs_asctime_r()

char *fs_asctime_r (const  struct  fs_tm  *p_time,
                           char           *str_time);

File

Called from

Code enabled by

fs_api.c

Application

FS_CFG_API_EN

Converts date/time to string in the form:

Sun Sep 16 01:03:52 1973\n\0

Arguments

p_time

Pointer to date/time to format.

str_time

String buffer that will receive date/time string (see Note).

Returned Value

Pointer to str_time, if NO errors.

Pointer to NULL, otherwise.

Notes/Warnings

  1. str_time must be at least 26 characters long. Buffer overruns must be prevented by caller.
char *fs_asctime_r (const  struct  fs_tm  *p_time,
                           char           *str_time);


File

Called from

Code enabled by

fs_api.c

Application

FS_CFG_API_EN

Converts date/time to string in the form:

Sun Sep 16 01:03:52 1973\n\0

Arguments

p_time

Pointer to date/time to format.

str_time

String buffer that will receive date/time string (see Note).

Returned Value

Pointer to str_time, if NO errors.

Pointer to NULL, otherwise.

Notes/Warnings

  1. str_time must be at least 26 characters long. Buffer overruns must be prevented by caller.