PatchworkOS
3984a1d
A non-POSIX operating system.
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
ctime.c
Go to the documentation of this file.
1
#include <
time.h
>
2
3
char
*
ctime
(
const
time_t
* timer)
4
{
5
struct
tm
*
tmp
=
localtime
(timer);
6
return
tmp
?
asctime
(
tmp
) :
NULL
;
7
}
y
int64_t y
Definition
main.c:153
ctime
char * ctime(const time_t *timer)
Definition
ctime.c:3
NULL
#define NULL
Pointer error value.
Definition
NULL.h:23
tm
Definition
time.h:21
time.h
asctime
_PUBLIC char * asctime(const struct tm *timeptr)
Definition
asctime.c:4
localtime
_PUBLIC struct tm * localtime(const time_t *timer)
Definition
localtime.c:5
time_t
long long unsigned time_t
Definition
time_t.h:4
src
libstd
user
functions
time
ctime.c
Generated on Sat Jan 10 2026 00:03:16 for PatchworkOS by
1.9.8