NAME
Udev::FFI::Devnum.
SYNOPSIS
use Udev::FFI::Devnum qw(:all); #or use Udev::FFI::Devnum qw(major minor makedev)
my $devnum = makedev(8, 1);
my $major = major($devnum);
my $minor = minor($devnum);
DESCRIPTION
This module provides major, minor and makedev functions.
FUNCTIONS
major( DEVNUM )
Return major ID.
minor( DEVNUM )
Return minor ID.
makedev( MAJOR, MINOR )
Return device number.
SEE ALSO
Udev::FFI main Udev::FFI documentation