Re: mmap

From: Richard Bos (rlb_at_hoekstra-uitgeverij.nl)
Date: 07/15/04


Date: Thu, 15 Jul 2004 06:46:46 GMT

deepan.chakravarthy@gmail.com (Deepan) wrote:

> mmap() failed: Cannot allocate memory
> Program exited with code 0377.

mmap() is not a C function. I believe it is POSIX, but I'm not sure. If
you can confirm that it is POSIX, you should ask this question in
comp.unix.programmer.

Richard



Relevant Pages

  • Re: [PATCH] include private data mappings in RLIMIT_DATA limit
    ... POSIX man page for setrlimit. ... Which says malloc() can fail from it, but conspicuously not that mmap() ... Mapped private readonly yes, but vm_stat_accountsays ...
    (Linux-Kernel)
  • Re: UDP recvmsg blocks after select(), 2.6 bug?
    ... >> implement posix behaviour, it avoids those areas were posix is stupid. ... It certainly isnt a useful definition of mmap. ... I get the idea that I just seem to value a standard operating ... Portable applications don't work if you get that close to the grey areas ...
    (Linux-Kernel)
  • Re: Assigning privs to a program?
    ... >> major Unix platform except Cray and NEC vector machines implements ... > Gunnar, as you know, mmap() is part of POSIX specs, alloca is not. ...
    (comp.unix.programmer)
  • Re: Assigning privs to a program?
    ... >> major Unix platform except Cray and NEC vector machines implements ... > Gunnar, as you know, mmap() is part of POSIX specs, alloca is not. ...
    (comp.unix.solaris)
  • Re: String searching in a FILE*
    ... Richard wrote: ... POSIX, so you might want to see if POSIX provides a better way to do ... But it does not mean on a POSIX system he must continue to use only ... since there is no portable way to do what he wants, and he appears to be okay with restricting his program to POSIX systems, it is natural to look for a better way to accomplish the same result within POSIX. ...
    (comp.lang.c)