Re: structure

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

 



On Thu, Jul 10, 2008 at 07:22:18PM +0530, jelari wrote:
> having looked up on kernel code, many places the structure name starts  
> with '__' [ underscore].
> Is there any reason behind it.

The convention in C is that symbols starting with _ or __ are for
internal use only.

IIRC the C standard reserves __ symbols  for use in the runtime libc
library, but because the kernel doesn't use libc it's free to use them
for other reserved use.


Erik

-- 
Erik Mouw -- mouw@xxxxxxxxxxxx

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux