POSIX functionality for Haskell
open sourceBSD-3-Clausefree
unix is the Haskell package that gives access to the operating system services standardised by POSIX.1-2008 (IEEE Std 1003.1). Its System.Posix modules cover files and directories, file descriptors and I/O, processes and signals, users and groups, terminals, environment variables, resource limits, semaphores, shared memory, temporary files and the dynamic linker. It is published on Hackage, maintained by a small group of volunteers in the haskell GitHub organization, and is BSD-3-Clause licensed. It does not support Windows.
Problems it solves
- call POSIX system functions like fork or chmod from Haskell
- handle Unix signals in a Haskell program
- read file permissions and owners in Haskell
Features
- POSIX.1-2008 services from Haskell
- Files, directories and file descriptors
- Processes, signals, users and groups
- Terminals, environment and resource limits
- Semaphores, shared memory and the dynamic linker
Limitations
- It isn't supported on Windows.1
Alternatives
The same job
These do what unix (Haskell) does.
- unix-compat A portable POSIX-compatibility layer for Haskell
