mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Make improvements
- Emulator can now test the αcτµαlly pδrταblε εxεcµταblε bootloader - Whipped up a webserver named redbean. It services 150k requests per second on a single core. Bundling assets inside zip enables extremely fast serving for two reasons. The first is that zip central directory lookups go faster than stat() system calls. The second is that both zip and gzip content-encoding use DEFLATE, therefore, compressed responses can be served via the sendfile() system call which does an in-kernel copy directly from the zip executable structure. Also note that red bean zip executables can be deployed easily to all platforms, since these native executables work on Linux, Mac, BSD, and Windows. - Address sanitizer now works very well
This commit is contained in:
parent
7327c345f9
commit
416fd86676
230 changed files with 9835 additions and 5682 deletions
|
@ -1,15 +1,13 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_TIME_TIME_H_
|
||||
#define COSMOPOLITAN_LIBC_TIME_TIME_H_
|
||||
#include "libc/calls/struct/itimerval.h"
|
||||
#include "libc/calls/struct/timespec.h"
|
||||
#include "libc/calls/struct/timeval.h"
|
||||
#include "libc/time/struct/timezone.h"
|
||||
#include "libc/time/struct/utimbuf.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
struct itimerval;
|
||||
struct timezone;
|
||||
struct tm;
|
||||
struct utimbuf;
|
||||
|
||||
extern const char kWeekdayNameShort[7][4];
|
||||
extern const char kWeekdayName[7][10];
|
||||
extern const char kMonthNameShort[12][4];
|
||||
|
@ -48,9 +46,9 @@ 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 * /*[64]*/);
|
||||
char *ctime(const int64_t *);
|
||||
char *ctime_r(const int64_t *, char * /*[64]*/);
|
||||
char *ctime_r(const int64_t *, char[hasatleast 64]);
|
||||
char *asctime_r(const struct tm *, char[hasatleast 64]);
|
||||
|
||||
int futimens(int, const struct timespec[2]);
|
||||
int utimensat(int, const char *, const struct timespec[2], int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue