struct task_struct *task;
struct list_head *list;
list_for_each( list, ¤t->children) {
task = list_entry (list, struct task_struct, sibling);
}
The doubt is in respective second arguments in the two functions. The code is from LKD2
Cheers
Ashok
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine