Releases the major number associated with the specified device driver instance name.
#include <cf.h> #include <sys/cfgodm.h> #include <sys/cfgdb.h> int relmajor ( device_driver_instance_name) char *device_driver_instance_name;
Item | Description |
---|---|
device_driver_instance_name | Points to a character string containing the device driver instance name. |
The relmajor device configuration subroutine is one of the designated access routines to the Customized Device Driver (CuDvDr) object class. To ensure that unique major numbers are generated, the CuDvDr object class is locked exclusively by this routine until the major number has been released.
The relmajor routine deletes the object containing the major number of the device driver instance name.
Item | Description |
---|---|
0 | Indicates successful completion. |
-1 | Indicates a failure to release the major number. |
Item | Description |
---|---|
/usr/lib/libcfg.a | Archive of device configuration subroutines. |