Chapter 10. Routines and Conventions

Table of Contents
Double-linked lists include/linux/list.h
Return Conventions
Breaking Compilation
Initializing structure members
GNU Extensions
C++
#if

Double-linked lists include/linux/list.h

There are three sets of linked-list routines in the kernel headers, but this one seems to be winning out (and Linus has used it). If you don't have some particular pressing need for a single list, it's a good choice. In fact, I don't care whether it's a good choice or not, just use it so we can get rid of the others.