malloc(0) not equal NULL?
Phillip Lindsay
philbo at arasta.uucp
Sat Jun 22 18:41:11 AEST 1991
Is there defined behavior in the ANSI C specification for the
result of a malloc() of zero bytes? Microsoft 5.1 returns
a non-NULL result where Borland C++ returns a NULL result.
Please EMAIL results; I am not fed this newsgroup. Many
thanks in advance.Phillip Lindsay "Those environmentalists are just trying to ruin the world."
Internet: ??????????????? Phone: Work7143852311 Home7142891201
UUCP : {spsd,zardox,felix}!dhw68k!arasta!philbo
USMAIL : 152A S. Cross Creek Rd, Orange, Ca. 92669
More information about the Comp.lang.c
mailing list