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

Re: underscores and function names



On Sun, 02 Jan 2005 19:51:36 -0500, Michael R. Hines <mhines@xxxxxxxxxx> wrote:

> The ones with underscores usually have matching functions withOUT
> underscores. They are meant to be private calls.

Indeed. Some even have up to 4 underscores or perhaps more! For
example, the code which is contained within the kernel file
kernel/kmod.c that maintains khelper.

[ Those on #kernelnewbies will have noted my pain earlier when the
"bug" I thought I'd found therein turned out to be a stale kernel
build - http://www.jonmasters.org/blog/ ]

Cheers,

Jon.

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