The system-posix-redirect package

[Tags: bsd3, library]

Due to the design of POSIX, it is possible to temporarily overload the file descriptors corresponding to stdout and stderr to point to an arbitrary pipe. It is, however, tricky to get right. This module gets it right, as far as such a terrible hack can be made right. It can be used to make misbehaving third-party C libraries stop spewing to standard output. Warning: the module author has concluded that due to lack of portability, this module should not be used in any serious sytem. But, for those who like living dangerously...


Properties

Versions1.0, 1.0.0.1, 1.1, 1.1.0.1
Dependenciesbase (==4.*), bytestring (>=0.9), unix (>=2.4.0)
LicenseBSD3
Copyright(c) 2010 Galois Inc.
AuthorGalois Inc.
Maintainerezyang@galois.com
CategorySystem
Source repositoryhead: git clone https://github.com/liyang/system-posix-redirect
UploadedThu Sep 5 10:55:47 UTC 2013 by LiyangHu
DistributionsNixOS:1.1.0.1, Stackage:1.1.0.1
Downloads551 total (33 in last 30 days)
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees