Modulererebase-1.21.2Haskell2010
System.Posix.Internals
- 14 types
- 112 values
- Packagererebase-1.21.2
- Exports126
- LanguageHaskell2010
- LicenceMIT
- SourceInternals.hs
The same as c_safe_open, but an interruptible operation as described in Control.Exception—it respects uninterruptibleMask but not mask.
We want to be able to interrupt an openFile call if it's expensive (NFS, FUSE, etc.), and we especially need to be able to interrupt a blocking open call. See #17912.
Check an encoded FilePath for internal NUL octets as these are disallowed in POSIX filepaths. See #13660.
Consult the RTS to find whether it is threaded.
Return a known device type or throw an exception if the device type is unknown.
Unlike statGetType, statGetType_maybe will not throw an exception
if the CStat refers to a unknown device type.