[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

linked lists linux kernel how they works?



hello,
                   In kernel source in list.h i found
following info
#define LIST_HEAD_INIT(name) { &(name), &(name) }
#define LIST_HEAD(name) struct list_head name =
LIST_HEAD_INIT(name)
              What i want to know is how
LIST_HEAD_INIT(name) evaluted? what will first
definition return  to second one?
regards,
cranium.


	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/