autoconf-patches
[Top][All Lists]
Advanced

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

doc malloc zero


From: Kevin Ryde
Subject: doc malloc zero
Date: Mon, 17 May 2004 08:13:05 +1000
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

        * doc/autoconf-new.texi (Function Portability): Add note on malloc(0),
        cross referencing AC_FUNC_MALLOC.


`malloc'
     The ISO C99 standard says a call `malloc(0)' is implementation
     dependent, it may either return `NULL' (eg. OSF 4) or non-`NULL'
     (eg. GNU C Library).  `AC_FUNC_MALLOC' can be used to insist on
     non-`NULL' (*note Particular Functions::).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]