mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-25 14:52:28 +00:00
Add more fixes for new cosmocc toolchain
We now have an `#include <cxxabi.h>` header which defines all the APIs Cosmopolitan's implemented so far. The `cosmocc` README.md file is now greatly expanded with documentation.
This commit is contained in:
parent
95124cacbe
commit
c6d3802d3a
32 changed files with 256 additions and 69 deletions
|
@ -29,6 +29,7 @@
|
|||
#include "libc/nt/thread.h"
|
||||
#include "libc/runtime/clktck.h"
|
||||
#include "libc/sock/struct/pollfd.h"
|
||||
#include "libc/sysv/consts/limits.h"
|
||||
#include "libc/sysv/consts/poll.h"
|
||||
#include "libc/testlib/testlib.h"
|
||||
#include "libc/thread/posixthread.internal.h"
|
||||
|
@ -120,4 +121,5 @@ TEST(poll, interrupt) {
|
|||
TEST(raise, zero) {
|
||||
ASSERT_SYS(0, 0, raise(0));
|
||||
ASSERT_SYS(EINVAL, -1, raise(-1));
|
||||
ASSERT_SYS(EINVAL, -1, raise(_NSIG + 1));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue