12-29-2011
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I access the actual manpage document? nroff manpage.x ?
DAve (1 Reply)
Discussion started by: nucca
1 Replies
2. UNIX for Dummies Questions & Answers
well, the subject tells everything.
i don't want to search for something in any manpage, but for a word in a specific manpage. (1 Reply)
Discussion started by: jeanmartin
1 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
Can any one please explain me what is the difference between hard link and soft link in UNIX.
Thanks in advance
Raja Chokalingam. (2 Replies)
Discussion started by: RAJACHOKALINGAM
2 Replies
4. UNIX for Dummies Questions & Answers
hello folks
how y'all doin
well i have some questions about symbolic link and hard link
hope some one answer me
i open terminal and join as root
and i wrote ln -s blah blah
then i wrote ls
i see red file called blah blah
but didn't understand what is this can some one explain and... (2 Replies)
Discussion started by: detective linux
2 Replies
5. Programming
Hello All,
I've encountered a strange behaviour from g++ that doesn't make sense to me. Maybe you can shed some light on it:
I have a bunch of source files and want to compile them and link them with a static library liba.a located in /usr/local/lib64 into an executable
Approach 1 works... (0 Replies)
Discussion started by: magelord
0 Replies
6. UNIX for Dummies Questions & Answers
Hi everybody,
I read about treads realted to this issue but they did not resovle issue given below.
Please help me resolve issue given below
I have html file under /srv/www/htdocs/actual_folder
ls actual_folder/
test.html
and following link works... (0 Replies)
Discussion started by: newbielgn
0 Replies
7. Solaris
Hi All
I am facing an issue with our new solaris machine.
in /var/adm/messages
root@Prod-App1:/var/tmp#
root@Prod-App1:/var/tmp#
root@Prod-App1:/var/tmp# cat /var/adm//messages
Apr 20 03:10:01 Prod-App1 syslogd: line 25: WARNING: loghost could not be resolved
Apr 20 08:24:18 Prod-App1... (0 Replies)
Discussion started by: javeedkaleem
0 Replies
8. Solaris
Hi All
I am facing an issue with our new solaris machine.
in /var/adm/messages
Apr 22 16:43:05 Prod-App1 in.routed: interface net0 to 172.16.101.1 turned off
Apr 22 16:43:33 Prod-App1 mac: NOTICE: nxge0 link up, 1000 Mbps, full duplex
Apr 22 16:43:34 Prod-App1 mac: NOTICE: nxge0 link... (2 Replies)
Discussion started by: javeedkaleem
2 Replies
LEARN ABOUT OPENSOLARIS
di_link_next_by_node
di_link_next_by_node(3DEVINFO) Device Information Library Functions di_link_next_by_node(3DEVINFO)
NAME
di_link_next_by_node, di_link_next_by_lnode - libdevinfo link traversal functions
SYNOPSIS
cc [ flag... ] file... -ldevinfo [ library... ]
#include <libdevinfo.h>
di_link_t di_link_next_by_node(di_lnode_t node, di_link_t link,
uint_t endpoint);
di_link_t di_link_next_by_lnode(di_node_t lnode, di_link_t link,
uint_t endpoint);
PARAMETERS
link The handle to the current the link or DI_LINK_NIL.
endpoint Specify which endpoint of the link the node or lnode should correspond to, either DI_LINK_TGT or DI_LINK_SRC.
node The device node with which the link is associated.
lnode The lnode with which the link is associated.
DESCRIPTION
The di_link_next_by_node() function returns a handle to the next link that has the same endpoint node as link. If link is DI_LINK_NIL, a
handle is returned to the first link whose endpoint specified by endpoint matches the node specified by node.
The di_link_next_by_lnode() function returns a handle to the next link that has the same endpoint lnode as link. If link is DI_LINK_NIL, a
handle is returned to the first link whose endpoint specified by endpoint matches the lnode specified by lnode.
RETURN VALUES
Upon successful completion, a handle to the next link is returned. Otherwise, DI_LINK_NIL is returned and errno is set to indicate the
error.
ERRORS
The di_link_next_by_node() and di_link_next_by_lnode() functions will fail if:
EINVAL An argument is invalid.
ENXIO The end of the link list has been reached.
The di_link_next_by_node() function will fail if:
ENOTSUP Device usage information is not available in snapshot.
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.11 12 Jul 2004 di_link_next_by_node(3DEVINFO)