Query: di_minor_devt
OS: centos
Section: 3devinfo
Links: centos man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
di_minor_devt(3DEVINFO) Device Information Library Functions di_minor_devt(3DEVINFO)NAMEdi_minor_devt, di_minor_name, di_minor_nodetype, di_minor_spectype - return libdevinfo minor node informationSYNOPSIScc [ flag... ] file... -ldevinfo [ library... ] #include <libdevinfo.h> dev_t di_minor_devt(di_minor_t minor); char *di_minor_name(di_minor_t minor); char *di_minor_nodetype(di_minor_t minor); int di_minor_spectype(di_minor_t minor);PARAMETERSminor A handle to minor data node.DESCRIPTIONThese functions return libdevinfo minor node information.RETURN VALUESThe di_minor_name() function returns the minor name. See ddi_create_minor_node(9F) for a description of the name parameter. The di_minor_devt() function returns the dev_t value of the minor node that is specified by SYS V ABI. See getmajor(9F), getminor(9F), and ddi_create_minor_node(9F) for more information. The di_minor_spectype() function returns the spec_type of the file, either S_IFCHR or S_IFBLK. See ddi_create_minor_node(9F) for a descrip- tion of the spec_type parameter. The di_minor_nodetype()function returns the minor node_type of the minor node. See ddi_create_minor_node(9F) for a description of the node_type parameter.ERRORSNo errors are defined.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+SEE ALSOattributes(5), ddi_create_minor_node(9F), getmajor(9F), getminor(9F) Writing Device Drivers SunOS 5.10 1 Dec 1998 di_minor_devt(3DEVINFO)
Related Man Pages |
---|
di_minor_name(3devinfo) - sunos |
di_minor_devt(3devinfo) - centos |
di_minor_devt(3devinfo) - minix |
di_minor_devt(3devinfo) - suse |
di_minor_nodetype(3devinfo) - centos |
Similar Topics in the Unix Linux Community |
---|
CentOS7 restoring file capabilities |
Shopt -s histappend |
Unsure why access time on a directory change isn't changing |
Controlling user input |
[TIP] Processing YAML files with yq |