di_lnode_name man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

di_lnode_name(3DEVINFDevice Information Library Functiodi_lnode_name(3DEVINFO)

NAME
       di_lnode_name,  di_lnode_devinfo,  di_lnode_devt	 -  return  libdevinfo
       lnode information

SYNOPSIS
       cc [ flag... ] file... -ldevinfo [ library... ]
       #include <libdevinfo.h>

       char *di_lnode_name(di_lnode_t lnode);

       di_node_t di_lnode_devinfo(di_lnode_t lnode);

       int di_lnode_devt(di_lnode_t lnode, dev_t *devt);

PARAMETERS
       lnode	       A handle to an lnode.

       devt	       A pointer to a dev_t that can be returned.

DESCRIPTION
       These functions return libdevinfo lnode information.

       The di_lnode_name() function returns a pointer to the  name  associated
       with lnode.

       The  di_lnode_devinfo()	function  returns  a handle to the device node
       associated with lnode.

       The di_lnode_devt() function sets the dev_t  pointed  to	 by  the  devt
       parameter to the dev_t associated with lnode.

RETURN VALUES
       The  di_lnode_name()  function returns a pointer to the name associated
       with lnode.

       The di_lnode_devinfo() function returns a handle	 to  the  device  node
       associated with lnode.

       The  di_lnode_devt()  function  returns	0  if  the requested attribute
       exists in lnode and was	returned.  It  returns	−1  if	the  requested
       attribute does not exist and sets errno to indicate the error.

ERRORS
       The di_lnode_devt() function will fail if:

       EINVAL	       An argument was invalid.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Evolving			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │Safe			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       di_init(3DEVINFO), libdevinfo(3LIB), attributes(5)

SunOS 5.10			  22 Mar 2004	       di_lnode_name(3DEVINFO)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net