Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 14 Jan 2013 07:19:31 -0600
From: Rob Landley <rob@...dley.net>
To: musl@...ts.openwall.com
Cc: musl@...ts.openwall.com
Subject: Re: NULL

On 01/14/2013 12:11:35 AM, Rich Felker wrote:
> On Sun, Jan 13, 2013 at 01:46:28PM -0600, Rob Landley wrote:
> The emerging consensus seems to be using
> 
> #define NULL 0L
> 
> unconditionally in both C and C++ mode.

Works for me. (Supplementing C99 with LP64 is valid for Linux, BSD, and  
MacOS X. Windows getting it wrong is their problem.)

Rob

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.