unix
unix copied to clipboard
POSIX functionality
Which system libraries does `unix` depend on? This should be documented in: - README - Maybe also `unix.cabal` via a `pkgconfig-depends`? Here is a broken CI run with GHC 9.4...
1. This module has virtually no documentation: there is neither a high-level overview of the API, nor any haddocks for individual functions. 2. `withModule` function is partial and will throw...
It's annoying to work with it as GHC configure is constantly modifying it. Why generated file is commited? ``` error: Your local changes to the following files would be overwritten...
We currently have three variants of many modules. I think we should reduce these. My idea is: 1. String is questionable overall, maybe drop it completely in unix-3.x.x.x 2. merge...
Like the title says, there don't seem to be any wrappers for pread & pwrite -- these would be useful.
I have a program in which I use `forkProcess`. When it is run with `-threaded +RTS -N1`, it works fine, but when I use `-threaded +RTS -N2` I get this...
As it unsafePerformIO is much slower and forces the program to run single-threadedly while providing no benefits.
https://man7.org/linux/man-pages/man3/posix_spawn.3.html It's supposed to be the successor of `fork`. Unless I missed something, it doesn't appear to be bound here.
As `stat(2)` states on my system, there is a field `st_blocks` in `struct stat`, which represents > The actual number of blocks allocated for the file in 512-byte units. As...
I'd like to be a good Unix citizen and restore the signal handlers to the way they were before I meddled with them. Without necessarily ending the process. But all...