Re: inline asm question(s)

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

 



>>>>> "Anupam" == Anupam Kapoor <anupam.kapoor@gmail.com> writes:

Anupam> a literal '0' in pointer context always means a null pointer. what
Anupam> happens if for example on some platform, a null pointer is defined as
Anupam> 0xdeadbeef ?

  Nothing unusual for the conformant programs.  The token "0" denotes
the null pointer, just like the token "null" denotes it in other
languages.  Just syntax.

~velco

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


[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