mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 11:18:30 +00:00
Work towards improving signals and processes
This commit is contained in:
parent
de703b182c
commit
d7ac16a9ed
96 changed files with 1474 additions and 427 deletions
|
@ -20,4 +20,12 @@
|
|||
|
||||
static char g_asctime_buf[64];
|
||||
|
||||
char *asctime(const struct tm *date) { return asctime_r(date, g_asctime_buf); }
|
||||
/**
|
||||
* Converts date time to string.
|
||||
*
|
||||
* @return date time string in statically allocated buffer
|
||||
* @see asctime_r for reentrant version
|
||||
*/
|
||||
char *asctime(const struct tm *date) {
|
||||
return asctime_r(date, g_asctime_buf);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue