mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 08:18:30 +00:00
Reduce build graph by another eight percent
This commit is contained in:
parent
367d06d9e4
commit
0ea0d33a77
249 changed files with 889 additions and 988 deletions
|
@ -1,6 +1,7 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_TIME_STRUCT_TM_H_
|
||||
#define COSMOPOLITAN_LIBC_TIME_STRUCT_TM_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
struct tm {
|
||||
int32_t tm_sec;
|
||||
|
@ -16,5 +17,20 @@ struct tm {
|
|||
const char *tm_zone;
|
||||
};
|
||||
|
||||
struct tm *gmtime_r(const int64_t *, struct tm *);
|
||||
struct tm *localtime_r(const int64_t *, struct tm *);
|
||||
int64_t timegm(struct tm *);
|
||||
int64_t mktime(struct tm *);
|
||||
int64_t timelocal(struct tm *);
|
||||
int64_t timeoff(struct tm *, long);
|
||||
char *strptime(const char *, const char *, struct tm *);
|
||||
size_t strftime(char *, size_t, const char *, const struct tm *)
|
||||
strftimeesque(3);
|
||||
char *asctime(const struct tm *);
|
||||
char *asctime_r(const struct tm *, char[hasatleast 64]);
|
||||
char *iso8601(char[hasatleast 20], struct tm *);
|
||||
size_t wcsftime(wchar_t *, size_t, const wchar_t *, const struct tm *);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_TIME_STRUCT_TM_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue