Difference between INIT_LIST_HEAD and LIST_HEAD_INIT

nawab nawablinux at gmail.com
Tue Jan 6 04:37:17 EST 2015


hi friends ,

i have a simple doubt when i was looking on linux/list.h

I have seen that   INIT_LIST_HEAD and LIST_HEAD_INIT are performing the 
same functionality,the major difference is
the argument passed.

When we have to use INIT_LIST_HEAD and LIST_HEAD_INIT??



More information about the Kernelnewbies mailing list