[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Single Page

Top Document: SGI apps Frequently Asked Questions (FAQ)
Previous Document: -46- How can I tell which shared objects my executable uses?
Next Document: -48- What is the difference between libc's malloc() and libmalloc's malloc()?


-47- Why does malloc() never return NULL?



  Virtual memory is effectively infinitely large in IRIX 4.0.x, and it
  can be configured to be so in IRIX 5.x. malloc() never returns NULL
  because requests are always granted. The admin FAQ gives further
  background, and tells how to configure your system to limit virtual
  memory to physical memory and physical swap space.



Top Document: SGI apps Frequently Asked Questions (FAQ)
Previous Document: -46- How can I tell which shared objects my executable uses?
Next Document: -48- What is the difference between libc's malloc() and libmalloc's malloc()?

Single Page


[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
sgi-faq@viz.tamu.edu (The SGI FAQ group)

Last Update October 22 2009 @ 05:34 AM

Some parts © 2009 Advameg, Inc.