Name: select Version: 0.4 Synopsis: Wrap the select(2) POSIX function Homepage: http://nonempty.org/software/haskell-select License: BSD3 License-file: LICENSE Author: Gard Spreemann Maintainer: Gard Spreemann Copyright: 2012 Gard Spreemann Category: System Build-type: Simple Extra-source-files: src/System/Posix/IO/Select/cbits.c, src/System/Posix/IO/Select/cbits.h, src/System/Posix/IO/Select/FdSet/cbits.c, src/System/Posix/IO/Select/FdSet/cbits.h Cabal-version: >=1.2 Description: While tinkering on a project, I frequently found myself having to make FFI calls to @select(2)@. This package provides an interface to that system call. . Changes in version 0.4: . * Introduce an interface to @fd_set@. . * Add functions with various amounts of abstraction; in particular, 'select''' matches 'select' in previous versions. . * Retry @select(2)@ in case of interruption by signals. . * Remove dependence on the vector package. . WARNINGS: . * Behavior with write and exception file descriptors is under-tested. Feedback is welcome. . * This package is far from complete, and should be tested throughly before being relied upon. . TODO: . * Return the error code specified by errno if @select@ fails. . * Possibly move the select retry code from C to Haskell. . * Reorder functions to make the documentation more logical. . * Use hsc2hs's #const to get preprocessor constants (removes some of FdSet's cbits.c). . /NOTE/: I feel I'm occupying prime namespace realestate with a package name like select. I'll happily let myself be chased away if someone more qualified wants to use this package name. Let me know. Library Exposed-modules: System.Posix.IO.Select, System.Posix.IO.Select.Types, System.Posix.IO.Select.FdSet, System.Posix.IO.Select.FdSet.Unsafe Other-modules: Misc, System.Posix.IO.Select.FdSet.Internal hs-source-dirs: src Build-depends: base >= 4 && <5 c-sources: src/System/Posix/IO/Select/cbits.c, src/System/Posix/IO/Select/FdSet/cbits.c include-dirs: src/System/Posix/IO/Select/ src/System/Posix/IO/Select/FdSet/ cc-options: -std=c99 -Wall -DNDEBUG extra-libraries: rt