Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!snorkelwacker!usc!zaphod.mps.ohio-state.edu!uwm.edu!rpi!uupsi!gli.com!bobj From: bobj@gli.com (Robert Jacobs) Newsgroups: comp.std.c Subject: Re: malloc(0) Message-ID: <1990Aug6.142050.18629@gli.com> Date: 6 Aug 90 14:20:50 GMT References: <10830@spool.cs.wisc.edu> <13384@smoke.BRL.MIL> <1990Jul26.232216.15093@oresoft.com> Organization: General Logistics International, Inc. Lines: 5 About using malloc(0) to point to a unique place. What's wrong with using malloc(1) ?? That way malloc(0) would do what is expected. Return a NULL pointer. This just seems too easy, doesn't it?