Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
asctime.c
Go to the documentation of this file.
1
#define _GNU_SOURCE
2
#include <
time.h
>
3
4
char
*
asctime
(
const
struct
tm
*
tm
)
5
{
6
static
char
buf[26];
7
return
asctime_r
(
tm
, buf);
8
}
time.h
tm
Definition:
time.h:41
asctime_r
char * asctime_r(const struct tm *restrict tm, char *restrict buf)
Definition:
asctime_r.c:7
asctime
char * asctime(const struct tm *tm)
Definition:
asctime.c:4
src
time
asctime.c
Generated by
1.8.15