__function_name

Submitted by kb88
on May 29, 2006 - 11:49pm

What is the meaning of double underline on the names of kernel functions? CodingStyle.txt does not explain it.
E.g. __list_del() and list_del()

In general it means that "__x

olexiy
on
May 30, 2006 - 12:00am

In general it means that "__x()" is like an internal function and in the most cases you have to use the "x()" counterpart. Some of "__x()" do less checking, some expect that certain conditions are met before the call.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.