sunfishcode / c-ward

An implementation of libc written in Rust
Other
188 stars 11 forks source link

Fix several issues that I found running some POSIX conformance tests. #46

Closed sunfishcode closed 10 months ago

sunfishcode commented 10 months ago

Fix several functions to better diagnose invalid argument values.

And implement mlockall, munlockall, __printf_chk, __sysconf, fpathconf, pathconf, shm_open, shm_unlink, sleep, usleep, memfd_create, and _SC_DELAYTIMER_MAX.