Moduleunix-compat-0.7.4.1Haskell2010
System.PosixCompat.Extensions
This module provides some functions not present in the unix package.
Contents
Synopsis
- type CMajor
- type CMinor
- value deviceMajor
- value deviceMinor
- value makeDeviceID
- Packageunix-compat-0.7.4.1
- Exports5
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceExtensions.hsc
Device IDs.
Gets the major number from a DeviceID for a device file.
The portable implementation always returns 0.
Gets the minor number from a DeviceID for a device file.
The portable implementation always returns 0.
Creates a DeviceID for a device file given a major and minor number.