cosmopolitan/libc/fmt
Justine Tunney 281a0f2730 Implement raw system call for redbean lua code
You can now call functions like fork() from Lua and it'll work across
all supported platforms, including Windows. This gives you a level of
control of the system that Lua traditionally hasn't been able to have
due to its focus on old portable stdio rather modern POSIX APIs. Demo
code has been added to redbean-demo.com to show how it works.

This change also modifies Lua so that integer literals with a leading
zero will be interpreted as octal. That should help avoid shooting in
the foot with POSIX APIs that frequently use octal mode bits.

This change fixes a bug in opendir(".") on New Technology.

Lastly, redbean will now serve crash reports to private network IPs.
This is consistent with other frameworks. However that isn't served
to public IPs unless the -E flag is passed to redbean at startup.
2022-04-13 08:53:24 -07:00
..
abs.c Change license 2020-12-27 17:18:44 -08:00
atoi.c Make numerous improvements 2021-09-28 01:52:34 -07:00
atol.c Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
atoll.c Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
basename.c Fix basename() and dirname() 2022-04-06 00:13:44 -07:00
bing.c Change license 2020-12-27 17:18:44 -08:00
bing.internal.h Enhance chibicc 2020-12-09 04:00:48 -08:00
conv.h Fix basename() and dirname() 2022-04-06 00:13:44 -07:00
dirname.c Fix basename() and dirname() 2022-04-06 00:13:44 -07:00
div.c Change license 2020-12-27 17:18:44 -08:00
divmod10.internal.h Make improvements 2022-03-16 13:40:10 -07:00
fcvt.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
fmt.c Add Linux ptrace() tutorial 2022-03-24 08:00:36 -07:00
fmt.h Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
fmt.mk Make numerous improvements 2021-09-28 01:52:34 -07:00
fmts.h Improve performance of printf functions 2021-04-24 13:58:50 -07:00
formatint32.c Change noinline to dontinline (#312) 2021-11-12 15:12:18 -08:00
formatint64.c Change noinline to dontinline (#312) 2021-11-12 15:12:18 -08:00
formatint64thousands.c Change noinline to dontinline (#312) 2021-11-12 15:12:18 -08:00
i128abs.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
imaxabs.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
internal.h Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
itoa.c Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
itoa.h Improve memory safety 2021-10-13 17:27:13 -07:00
itoa64.c Change noinline to dontinline (#312) 2021-11-12 15:12:18 -08:00
itoa64fixed16.greg.c Make numerous improvements 2021-09-28 01:52:34 -07:00
itoa64radix8.c Change noinline to dontinline (#312) 2021-11-12 15:12:18 -08:00
itoa64radix10.greg.c Change noinline to dontinline (#312) 2021-11-12 15:12:18 -08:00
itoa64radix16.greg.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
itoa128radix10.greg.c Change noinline to dontinline (#312) 2021-11-12 15:12:18 -08:00
kerrornames.internal.h Implement raw system call for redbean lua code 2022-04-13 08:53:24 -07:00
kerrornames.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
kerrornameslong.S Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
labs.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
ldiv.c Change license 2020-12-27 17:18:44 -08:00
leb128.h Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
lengthuint64.c Improve memory safety 2021-10-13 17:27:13 -07:00
llabs.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
lldiv.c Change license 2020-12-27 17:18:44 -08:00
ntoa.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
pad.c Improve performance of printf functions 2021-04-24 13:58:50 -07:00
pflink.h Add SSL to redbean 2021-06-24 13:20:50 -07:00
sizetol.c Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
sleb64.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
sleb128.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
snprintf.c Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
sprintf.c Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
sscanf.c Change license 2020-12-27 17:18:44 -08:00
stoa.c Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
strerror.c Clean old .source directive out of asm code 2022-03-18 12:43:21 -07:00
strerror_long.greg.c Implement raw system call for redbean lua code 2022-04-13 08:53:24 -07:00
strerror_r.greg.c Improve system call support on NT 2022-04-07 20:30:04 -07:00
strerror_short.greg.c Implement raw system call for redbean lua code 2022-04-13 08:53:24 -07:00
stripext.c Make numerous improvements 2021-09-28 01:52:34 -07:00
stripexts.c Add SNI support to redbean and improve SSL perf 2021-07-23 13:56:13 -07:00
strtoi128.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
strtoimax.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
strtol.c Make numerous improvements 2021-09-28 01:52:34 -07:00
strtol.internal.h Make numerous improvements 2021-09-28 01:52:34 -07:00
strtoll.c Fix typo bug in strtoll (#245) 2021-08-15 12:07:33 -07:00
strtoll_l.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
strtonum.c Change license 2020-12-27 17:18:44 -08:00
strtou128.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
strtoul.c Make numerous improvements 2021-09-28 01:52:34 -07:00
strtoull.c Add cpu / mem / fsz limits to build system 2021-08-13 23:40:53 -07:00
strtoull_l.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
strtoumax.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
swprintf.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
uleb64.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
uleb128.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
unbing.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
unhexbuf.c Change license 2020-12-27 17:18:44 -08:00
unsleb128.c Change license 2020-12-27 17:18:44 -08:00
unzleb64.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
vcscanf.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
vsnprintf.c Improve performance of printf functions 2021-04-24 13:58:50 -07:00
vsprintf.c Support proper %g, %f, and %a float formatting 2021-03-05 10:31:16 -08:00
vsscanf.c Change license 2020-12-27 17:18:44 -08:00
wcstoi128.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
wcstoimax.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
wcstol.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
wcstoll.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
wcstoll_l.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
wcstou128.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
wcstoul.c Make numerous improvements 2021-09-28 01:52:34 -07:00
wcstoull.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
wcstoull_l.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
wcstoumax.c Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
zleb64.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
zleb128.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00