home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!spool.mu.edu!howland.reston.ans.net!usc!nic.csu.net!nic.csu.net!nntp
- Newsgroups: comp.unix.aix
- Subject: Malloc
- Message-ID: <1993Jan27.091834.3945@nic.csu.net>
- From: sulistio@sutro.SFSU.EDU (Sulistio Muljadi)
- Date: 27 Jan 93 09:18:33 PST
- Distribution: world
- Organization: San Francisco State University
- Nntp-Posting-Host: sutro.sfsu.edu
- Lines: 19
-
- Hi
- I have been having some problem with malloc, calloc....
- I wonder if there are any tips about using malloc , calloc in AIX 3.2.2
- it's IBM RS/6000 520 machine. We have increase the paging space to see
- if that makes any difference at all.. but it doesn't make any difference.
-
- Please send me any tips about using malloc ... I can't specifically figure out
- what the problem is. I also try to use setenv MALLOCTYPE 3.1, it doesn't help
- much... when calling calloc(0,sizeof(number)) , it will return nil... which
- in other platform (sun, sgi, and hp) it doesn't. i tried to use mallopt(1,0)
- as suggested in the previous thread .. but it doesn't work.... so any advice
- tips are appreciated
-
- Thank you
- --
- Mul | Alt. address: sulistio@futon.sfsu.edu
- sulistio@sutro.sfsu.edu | NeXTmail -> sarong!sulistio@cs.sfsu.edu
- #include "std/disclaimer.h" | sulistio@chop.isca.uiowa.edu
- >Genius is one per cent inspiration and ninety-nine per cent perspiration.
-