unix
unix copied to clipboard
POSIX functionality
CI caches are likely stale (most are from 2023):  A more flexible cache key is needed, either involving `github.sha` or a hash of the...
One such platform is Debian unstable armhf, which is in the process of transitioning to 64-bit time_t: https://wiki.debian.org/ReleaseGoals/64bit-time On that platform (as well as any other glibc/musl platform), however, CTimeVal...
This PR adds two new functions `readDirStreamWith` and `readDirStreamWithPtr`: * `readDirStreamWith` is a version of `readDirStreamMaybe` that takes a callback that is used to obtain the result from the pointer...
`waitToSetLock` uses `c_fcntl_lock` which is an `unsafe` FFI import, but the call may block indefinitely. It was the root cause of https://gitlab.haskell.org/ghc/ghc/-/issues/15485 in GHC
This is a generated file which should not be present in the repository. Fixes ghc#19574. Fixes #257 .
Task: add CI for GHC's JS backend (starting with 9.8, it's too broken before that). Motivation: see discussion in https://github.com/haskell/unix/pull/285 Running the testsuite with the JS backend is tackled in...
See (long-running) Trac issue: [T1487](https://ghc.haskell.org/trac/ghc/ticket/1487).
I'm trying to build `unix` with `wasm32-wasi-cabal` using my new [`ghc-wasm-backend` Docker image](https://hub.docker.com/repository/docker/brandonchinn178/ghc-wasm-backend/general), and I'm getting this error: ``` checking host system type... Invalid configuration `wasm32-wasi': system `wasi' not recognized...