aboutsummaryrefslogtreecommitdiffhomepage
path: root/System
Commit message (Collapse)AuthorAge
* move __hscore_{mkstemp,getrlimit,setrlimit} here from baseGravatar Ross Paterson2008-06-15
|
* Use the C wrappers for [gs]etrlimitGravatar Ian Lynagh2008-05-20
| | | | | This is for #2038: macros are used in the Linux .h includes to redirect to a 64-bit version when large file support is enabled.
* Use the __hscore_mkstemp wrapper from the base packageGravatar Ian Lynagh2008-05-20
| | | | | This is for #2038: macros are used in the Linux .h includes to redirect to a 64-bit version when large file support is enabled.
* small doc tweakGravatar Simon Marlow2008-05-08
|
* Throw a proper exception if getUserEntryForName fails to find an entryGravatar Ian Lynagh2008-01-15
| | | | Fixes trac #2033.
* protect against concurrent access to the signal handlers (#1922)Gravatar Simon Marlow2007-12-04
|
* Fix some haddock linksGravatar Ian Lynagh2007-11-26
|
* Throw a proper exception if getGroupEntryForName fails to find an entryGravatar Ian Lynagh2007-11-10
| | | | | | We used to get *** Exception: getGroupEntryForName: failed (Success) Fixes trac #1655
* Remove incorrect commentGravatar Ian Lynagh2007-10-14
|
* Support for 57600 and 115200 baudratesGravatar pweaver@galois.com2007-10-16
|
* Also guard the foreign declaration of __hsunix(grant|unlock)pt by HAVE_PTSNAMEGravatar Clemens Fruhwirth2007-10-16
|
* Add basic pseudoterminal support.Gravatar Bryan O'Sullivan2007-09-25
|
* check for shm_open/shm_unlink (for archs like OpenBSD without them)Gravatar Don Stewart2007-09-16
|
* Suppress some warningsGravatar Ian Lynagh2007-09-02
|
* add cross-referencing between posix and process modulesGravatar ijones@syntaxpolice.org2007-08-19
|
* get the SIG constants for ourselves, rather than relying on HsBaseConfig.hGravatar Ross Paterson2007-08-19
|
* Move System.Posix.Signals from baseGravatar Ian Lynagh2007-07-29
| | | | Also adds System.Posix.Process.Internals in order to make the deps work out.
* Move throwErrnoPath* functions to base:Foreign.C.ErrorGravatar Ian Lynagh2007-07-22
|
* GHC.Handle no longer exports openFdGravatar Ian Lynagh2007-07-22
|
* Add support for named semaphores and shared memory objectsGravatar Daniel Franke2007-05-03
|
* Fix calling getAllUserEntries twice (trac #1279).Gravatar Ian Lynagh2007-05-04
| | | | | It used to return [] on all but the first call. Patch from an unidentified guest.
* Handle sysconf(3) return value -1 when checking _SC_GETGR_R_SIZE_MAX and ↵Gravatar bjorn@bringert.net2007-04-16
| | | | | | | | _SC_GETPW_R_SIZE_MAX. sysconf(3) returns -1 on failure, but this was not handled when checking _SC_GETGR_R_SIZE_MAX and _SC_GETPW_R_SIZE_MAX in System.Posix.User. This made getUserEntryForID, getUserEntryForName, getGroupEntryForID and getGroupEntryForName fail on OS X 10.4.9 on i386. Just checking that unistd.h defines _SC_GETGR_R_SIZE_MAX and _SC_GETPW_R_SIZE_MAX as was done before does not guarantee that sysconf(3) will succeed. sysconf(3) failure is now handled by using the same default values as were already used when sysconf(3) is not available, or the parameter names are not defined.
* Don't use Fd/FD in foreign declsGravatar Ian Lynagh2007-04-04
| | | | | Using CInt makes it much easier to verify that it is right, and we won't get caught out by possible newtype switches between CInt/Int.
* Fix C/Haskell type mismatchesGravatar Ian Lynagh2007-04-04
|
* Follow type changes in baseGravatar Ian Lynagh2007-04-03
| | | | (of the dubiously exported c_access and c_fcntl_write)
* fix cut-and-pasto in error messageGravatar Simon Marlow2007-03-08
|
* export the file-type modes, so that createDevice can be usedGravatar Simon Marlow2007-03-05
|
* Provide nanosleep if we have it, and use it to implement usleepGravatar Simon Marlow2007-03-02
| | | | Fixes #1156
* don't retry usleep() on EINTR (see #850/#1156)Gravatar Simon Marlow2007-03-02
|
* expand docs for forkProcessGravatar Simon Marlow2007-03-01
|
* add C wrappers for lstat() and mknod(). Fixes #1086.Gravatar Simon Marlow2007-02-26
|
* fix haddock syntaxGravatar Simon Marlow2006-09-08
|
* Derive Show, Read, and Eq for UserEntry and GroupEntryGravatar John Goerzen2006-08-31
|
* Fix compilation issues with new getgrent/getpwent codeGravatar John Goerzen2006-08-30
|
* Added support for getpwent/getgrentGravatar John Goerzen2006-08-30
|
* Added some Haddock docs for UserEntry and GroupEntryGravatar John Goerzen2006-08-29
|
* Add missing field gr_passwd to GroupEntryGravatar John Goerzen2006-08-29
|
* Whitespace changes for better alignment in unpackUserEntryGravatar John Goerzen2006-08-29
|
* Added pw_passwd and pw_gecos fields to UserEntry structureGravatar John Goerzen2006-08-29
| | | | | | System.Posix.User was missing pw_gecos and pw_passwd in UserEntry. I have added them, so now the full struct passwd is represented.
* Added more documentation to System.Posix.FilesGravatar Johan Tibell2006-08-13
|
* fix markup (#854)Gravatar Ross Paterson2006-08-20
|
* document args to executeFileGravatar Simon Marlow2006-08-09
|
* fix bogosity in getEnvironmentPrimGravatar Simon Marlow2006-05-31
|
* [project @ 2005-11-10 13:00:55 by simonmar]Gravatar simonmar2005-11-10
| | | | some Haddock docs, from Isaac Jones.
* [project @ 2005-11-10 12:58:32 by simonmar]Gravatar simonmar2005-11-10
| | | | Some docs for System.Posix, from Bj?rn Bringert
* [project @ 2005-08-10 10:07:22 by simonmar]Gravatar simonmar2005-08-10
| | | | Fix queryFdOption
* [project @ 2005-08-04 02:09:36 by wolfgang]Gravatar wolfgang2005-08-04
| | | | | | | Check for RTLD_DEFAULT in dlfcn.h and use it if it is available. (On Mac OS X its value is -2, and using NULL instead does not work.) MERGE TO STABLE
* [project @ 2005-05-10 10:40:12 by simonmar]Gravatar simonmar2005-05-10
| | | | PATH_MAX fixes from Thomas Schwinge.
* [project @ 2005-03-08 16:22:05 by simonmar]Gravatar simonmar2005-03-08
| | | | | Undo previous commit: it breaks when RLIM_INFINITY is defined to an expression that CPP doesn't understand.
* [project @ 2005-03-05 14:32:09 by panne]Gravatar panne2005-03-05
| | | | | Warning police (for platforms where all resource limits can be represented, i.e. RLIM_INFINITY == RLIM_SAVED_MAX == RLIM_SAVED_CUR)