| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
System.PosixCompat.Extensions
Contents
Description
This module provides some functions not present in the unix package.
Synopsis
- type CMajor = CUInt
- type CMinor = CUInt
- deviceMajor :: DeviceID -> CMajor
- deviceMinor :: DeviceID -> CMinor
- makeDeviceID :: CMajor -> CMinor -> DeviceID
Device IDs.
deviceMajor :: DeviceID -> CMajor Source #
Gets the major number from a DeviceID for a device file.
The portable implementation always returns 0.