Windows PowerShell command on Get-command di_lnode_name
MyWebUniversity

Manual Pages for UNIX Operating System command usage for man di_lnode_name

Device Information Library Functions di_lnode_name(3DEVINFO)

NAME

di_lnode_name, di_lnode_devinfo, di_lnode_devt - return lib-

devinfo lnode information

SYNOPSIS

cc [ flag... ] file... -ldevinfo [ library... ]

#include

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 dev-

ice 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 dev-

ice 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.

SunOS 5.11 Last change: 22 Mar 2004 1

Device Information Library Functions di_lnode_name(3DEVINFO)

ERRORS

The di_lnode_devt() function will fail if:

EINVAL An argument was invalid.

ATTRIBUTES

See attributes(5) for descriptions of the following attri-

butes:

____________________________________________________________

| ATTRIBUTE TYPE | ATTRIBUTE VALUE |

|_____________________________|_____________________________|

| Interface Stability | Committed |

|_____________________________|_____________________________|

| MT-Level | Safe |

|_____________________________|_____________________________|

SEE ALSO

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

SunOS 5.11 Last change: 22 Mar 2004 2




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™