kernel: struct list_head
From: vertigo (ax178_at_wp.pl)
Date: 10/30/04
- Previous message: vertigo: "kernel module: new operator"
- Next in thread: Ulrich Eckhardt: "Re: kernel: struct list_head"
- Reply: Ulrich Eckhardt: "Re: kernel: struct list_head"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 30 Oct 2004 13:55:27 +0200
Hello
I write a module for kernel 2.6.
I wanted to use struct list_head as double linked list,
but i foud it's definition in <linux/list.h> as:
struct list_head{
struct list_head *prev,*next;
};
I found that this list is often used but i do not understeand why.
Is does not contain any data. Even a pointer to some structrue.
So what is it for ?
Thanx
Michal
- Previous message: vertigo: "kernel module: new operator"
- Next in thread: Ulrich Eckhardt: "Re: kernel: struct list_head"
- Reply: Ulrich Eckhardt: "Re: kernel: struct list_head"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|