cosmopolitan/libc/unicode
Justine Tunney 14e192e5ba Introduce --strace flag for system call tracing
This is similar to the --ftrace (c function call trace) flag, except
it's less noisy since it only logs system calls to stderr. Having this
flag is valuable because (1) system call tracing tells us a lot about
the behavior of complex programs and (2) it's usually very hard to get
system call tracing on various operating systems, e.g. strace, ktrace,
dtruss, truss, nttrace, etc. Especially on Apple platforms where even
with the special boot trick, debuggers still aren't guaranteed to work.

    make -j8 o//examples
    o//examples/hello.com --strace

This is enabled by default in MODE=, MODE=opt, and MODE=dbg. In MODE=dbg
extra information will be printed.

    make -j8 MODE=dbg o/dbg/examples
    o/dbg/examples/hello.com --strace |& less

This change also changes:

- Rename IsText() → _istext()
- Rename IsUtf8() → _isutf8()
- Fix madvise() on Windows NT
- Fix empty string case of inet_ntop()
- vfork() wrapper now saves and restores errno
- Update xsigaction() to yoink syscall support
2022-03-18 18:07:28 -07:00
..
blocks.txt Make numerous improvements 2021-09-28 01:52:34 -07:00
eastasianwidth.txt Make numerous improvements 2021-09-28 01:52:34 -07:00
iconv.c Implement setlocale() stub (#43) 2021-02-18 17:06:06 -08:00
kcombiningchars.S Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
keastasianwidth.s Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
langinfo.c Decentralize Python native module linkage 2021-09-07 11:40:11 -07:00
langinfo.h Decentralize Python native module linkage 2021-09-07 11:40:11 -07:00
locale.h Implement setlocale() stub (#43) 2021-02-18 17:06:06 -08:00
localeconv.c Add more POSIX function stubs 2021-03-02 03:27:55 -08:00
setlocale.c Fix issues with stdio needed for Lua 2021-03-06 19:04:26 -08:00
SpecialCasing.txt Make numerous improvements 2021-09-28 01:52:34 -07:00
strnwidth.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
strnwidth16.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
strwidth.c Add NetBSD support 2021-02-05 06:19:45 -08:00
strwidth16.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
unicode-properties.txt Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
unicode.h Add more POSIX function stubs 2021-03-02 03:27:55 -08:00
unicode.mk Improve build system 2021-02-19 23:03:34 -08:00
unicodedata.txt Make numerous improvements 2021-09-28 01:52:34 -07:00
update.sh Make numerous improvements 2021-09-28 01:52:34 -07:00
wcsnwidth.c Add NetBSD support 2021-02-05 06:19:45 -08:00
wcswidth.c Add NetBSD support 2021-02-05 06:19:45 -08:00
wcwidth.c Add q keyboard shortcut to printvideo.com (#37) 2021-02-03 15:53:33 -08:00