home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!iWarp.intel.com|ichips!tmcconne
- From: tmcconne@sedona.intel.com (Tom McConnell)
- Subject: Re: AIX malloc and fault tolerance
- Message-ID: <1992Sep3.213432.21887@ichips.intel.com>
- Originator: tmcconne@sedona
- Sender: tmcconne@sedona (Tom McConnell)
- Organization: Intel Corporation
- References: <1992Sep3.135156.9166@medtron.medtronic.com>
- Date: Thu, 3 Sep 1992 21:34:32 GMT
- Lines: 20
-
-
- In article <1992Sep3.135156.9166@medtron.medtronic.com>, sh0001@israel (Scott Hansohn) writes:
- > In AIX, a nonzero return from malloc does not guarantee that the
- > memory requested has been allocated to the process. Neither does
- > a successful launch of a program containing a large static buffer
- > guarantee that the buffer may be fully usable.
- >
-
- You might also note that "malloc(0)" currently returns "0", although it is not
- guarenteed to do this in the future. This is what breaks the current version of
- g++ (version 2.2.2) if you call new[] with a size of 0.
-
- Cheers,
-
- Tom McConnell
- --
- Tom McConnell | Internet: tmcconne@sedona.intel.com
- Intel, Corp. C3-91 | Phone: (602)-554-8229
- 5000 W. Chandler Blvd. | The opinions expressed are my own. No one in
- Chandler, AZ 85226 | their right mind would claim them.
-