Modulestreamly-core-0.3.1Haskell2010
Streamly.Internal.FileSystem.Posix.File
- 2 types
- 41 values
- Packagestreamly-core-0.3.1
- Exports43
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceFile.hsc
File open flags
2 declarationsDefault values for the OpenFlags.
By default a 0 value is used, no flag is set. See the open system call man page.
File status flags
3 declarationsFile creation flags
6 declarationsFile create mode
1 declarationUser Permissions
Group Permissions
Other Permissions
Status bits
Fd based Low Level
2 declarationsopenAt Open a file relative to an optional directory file descriptor.
Note: In Haskell, using an fd directly for IO may be problematic as blocking file system operations on the file might block the capability and GC for "unsafe" calls. "safe" calls may be more expensive. Also, you may have to synchronize concurrent access via multiple threads.
Handle based
5 declarationsLike openFile in base package but using Path instead of FilePath. Use hSetBinaryMode on the handle if you want to use binary mode.
Like withFile in base package but using Path instead of FilePath. Use hSetBinaryMode on the handle if you want to use binary mode.
Like openBinaryFile in base package but using Path instead of FilePath.
Like withBinaryFile in base package but using Path instead of FilePath.
Instances13Bounded, Enum, Eq, Integral, Num, Ord, …
Bounded FdDefined in ghc-internal-10.0.0 · GHC.Internal.System.Posix.TypesEnum FdDefined in ghc-internal-10.0.0 · GHC.Internal.System.Posix.TypesEq FdDefined in ghc-internal-10.0.0 · GHC.Internal.System.Posix.TypesIntegral FdDefined in ghc-internal-10.0.0 · GHC.Internal.System.Posix.TypesNum FdDefined in ghc-internal-10.0.0 · GHC.Internal.System.Posix.TypesOrd FdDefined in ghc-internal-10.0.0 · GHC.Internal.System.Posix.TypesRead FdDefined in ghc-internal-10.0.0 · GHC.Internal.System.Posix.TypesReal FdDefined in ghc-internal-10.0.0 · GHC.Internal.System.Posix.TypesShow FdDefined in ghc-internal-10.0.0 · GHC.Internal.System.Posix.TypesIx FdDefined in ghc-internal-10.0.0 · GHC.Internal.System.Posix.TypesBits FdDefined in ghc-internal-10.0.0 · GHC.Internal.System.Posix.TypesFiniteBits FdDefined in ghc-internal-10.0.0 · GHC.Internal.System.Posix.TypesStorable FdDefined in ghc-internal-10.0.0 · GHC.Internal.System.Posix.Types