lasek <cl**************@acrm.it> wrote:
Hi all...now after a lot of experiments in c programming(two weeks..for
precision), i've seen another strange instraction..and i post you the
question...
Like in the subject...why i must use nmap rather then malloc????.
What's nmap? Never heard of that function - it's definitely not
a standard C function. So there definitely does not seem to be
any need to use it instead of malloc() if you write portable C
programs. Should you mean "mmap()" instead of "malloc()", then
you're talking about a UNIX (only?) function that allows to map
a file into memory (but also allows to allocate a memory region
under certain conditions) and in that case you better ask that
question in e.g. comp.unix.programmer - but then tell a bit more
about the context, without it your question makes no sense even
if you should be talking about UNIX specific programs.
Regards, Jens
--
\ Jens Thoms Toerring ___
Je***********@physik.fu-berlin.de
\__________________________
http://www.toerring.de