[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-questions
Subject: How to malloc more memory than 20M.
From: phj <phj () www ! transfar ! com>
Date: 1998-06-29 0:44:05
[Download RAW message or body]
Do you know how to malloc more space for my program.
char *p;
p=(char *)malloc(20000000);
it always fail at the above line ,how can I malloc more memory than
20M.
Please Help me.
thanks everybody reply to me.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic