Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!ucsd!mvb.saic.com!unogate!unocal!genisco!dhw68k!arasta!philbo From: philbo@arasta.uucp (Phillip Lindsay) Newsgroups: comp.lang.c Subject: malloc(0) not equal NULL? Keywords: malloc Message-ID: Date: 22 Jun 91 08:41:11 GMT Organization: Superior Soft, Orange CA Lines: 8 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