Add more POSIX function stubs

Cosmopolitan currently doesn't support threads and it doesn't do
anything fancy in longjmp/setjmp so this change was simple to do

- localeconv
- _setjmp (same as setjmp)
- _longjmp (same as longjmp)
- strcoll (same as strcmp)
- flockfile (does nothing)
- funlockfile (does nothing)
- ftrylockfile (does nothing)

See #61
This commit is contained in:
Justine Tunney 2021-03-02 03:27:55 -08:00
parent 1831e3ccf7
commit 3e19b96ab8
9 changed files with 151 additions and 2 deletions

View file

@ -39,4 +39,4 @@ setjmp: lea 8(%rsp),%rax
xor %eax,%eax
ret
.endfn setjmp,globl
.source __FILE__
.alias setjmp,_setjmp