11-08-2012
Corona688 / DGPickett, thanks for your assistance.
It is true that a one should expertise things practically rather than just reading about them. But sometimes we have to get the initial supports to just know the first steps in order to start walking and running alone later on; thanks DGPickett for your useful advice.
regards,
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hey,
i am a pretty good linux/unix user but i would like to discover the full capabilities of linux/unix. i have "unix unleashed , by sams" any other books/websites reccomendations. thanks (2 Replies)
Discussion started by: hamza11050
2 Replies
2. UNIX for Dummies Questions & Answers
I am new to program development on Linux.
I wonder what computer languages are easy to grasp to create man - machine interactive interface software, which can accept inputs (parameters) from usrers, and present (display) the calculation results to users.
Before, I have heared about Perl,... (10 Replies)
Discussion started by: cy163
10 Replies
3. Fedora
Not totally new to Linux. Have done distro installs before. At this point, I'm looking for a way out of the MS lock down I've been in. Looking for a good beginner/intermediate book. One that will cover things such as server installs as well as things like X-Windows/SAMBA installs from CLI. What I... (2 Replies)
Discussion started by: jcayo11
2 Replies
4. What is on Your Mind?
I am new to unix world. I just know some basic commands only and some basics knowledge about unix. Anyone please suggest me from where should I start. Suggest me some book that could help me from the beginning. Presently I am working in php in a company and I want to move in unix. Please suggest me... (1 Reply)
Discussion started by: UNITRIX
1 Replies
5. Shell Programming and Scripting
I am begginer to perl scripting, i like to learn all the functionality of the perl scrpting , Could you please help me on this :confused::confused: (2 Replies)
Discussion started by: jothi basu
2 Replies
6. What is on Your Mind?
In case you have not seen it, we have a UNIX and Linux Timeline on FB.
If you have a few free moments, could you review the timeline and post back here in this thread with your suggestions and ideas for new entries and milestones?
Thanks! (1 Reply)
Discussion started by: Neo
1 Replies
7. Ubuntu
pleas suggest free e books to begin Bash scripting in ubuntu..... (2 Replies)
Discussion started by: vyom
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I'm a beginner and am learning c programming. I want to learn UNIX/LINUX in parallel. But I don't know difference between UNIX and LINUX and where they are applied in real life. As a beginner, some people asked me to start with UNIX. Please let me know some very good books for UNIX. Also a... (6 Replies)
Discussion started by: nerdbee
6 Replies
LEARN ABOUT CENTOS
di_walk_node
di_walk_node(3DEVINFO) Device Information Library Functions di_walk_node(3DEVINFO)
NAME
di_walk_node - traverse libdevinfo device nodes
SYNOPSIS
cc [ flag... ] file... -ldevinfo [ library... ]
#include <libdevinfo.h>
int di_walk_node(di_node_t root, uint_t flag, void *arg, int (*node_callback)(di_node_t node, void *arg));
DESCRIPTION
The di_walk_node() function visits all nodes in the subtree rooted at root. For each node found, the caller-supplied function node_call-
back() is invoked. The return value of node_callback() specifies subsequent walking behavior.
PARAMETERS
arg Pointer to caller-specific data.
flag Specifies walking order, either DI_WALK_CLDFIRST (depth first) or DI_WALK_SIBFIRST (breadth first). DI_WALK_CLDFIRST is the
default.
node The node being visited.
root The handle to the root node of the subtree to visit.
RETURN VALUES
Upon successful completion, di_walk_node() returns 0. Otherwise, -1 is returned and errno is set to indicate the error.
The node_callback() function can return one of the following:
DI_WALK_CONTINUE Continue walking.
DI_WALK_PRUNESIB Continue walking, but skip siblings and their child nodes.
DI_WALK_PRUNECHILD Continue walking, but skip subtree rooted at current node .
DI_WALK_TERMINATE Terminate the walk immediately.
ERRORS
The di_walk_node() function will fail if:
EINVAL Invalid argument.
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)
Writing Device Drivers
SunOS 5.10 1 Dec 1998 di_walk_node(3DEVINFO)