Subject: Re: Ansi C problems
To: None <>
From: Arne Henrik Juul <>
List: netbsd-bugs
Date: 11/12/1993 22:32:33
 > Date: Fri, 12 Nov 93 12:53:00 PST
 > From: (J.T. Conklin)
 > To:
 > Cc:
 > Subject: Ansi C problems
 > richard> Trying to compile a program that claimed to be in Ansi C
 > richard> under NetBSD 0.9, I came across a couple of problems:
 > richard> NULL should be defined in stdlib.h, but isn't
 > Not according to my copy of the C standard.

ISO/IEC 9899:1990, section 7.10, "General utilities <stdlib.h>" (page 149):
"The macros defined are NULL (described in 7.1.6); [...]"

In fact NULL should be defined in all of:

I haven't checked these header files in netbsd 0.9-current (sorry).

  - Arne H. Juul
(I've been reading comp.std.c too much :-)