Re: Best Way to Create String Variables in Assembly



On Tue, 09 Aug 2005 02:58:29 GMT
"T.M. Sommers" <tms@xxxxxx> wrote:

:They are the only standard syscalls to get memory from the system.

Actually, as documented in the man page, sbrk is not a system call, but
rather a C library wrapper to the brk call.

-- Chuck
.



Relevant Pages

  • Re: sbrk(2) broken
    ... I scratched my head for a long time as to why I was getting out of memory ... If sbrk() is indeed to be used by the default malloc, ... but are indeed coded with "modern virtual memory" (as ...
    (freebsd-current)
  • Re: Set x to to None and del x doesnt release memory in python 2.7.1 (HPUX 11.23, ia64)
    ... Increasing the program break has the effect of allocating ... memory to the process; ... I would have bet money, that sbrk() ... managed by malloc(), and mallocprovides no way to give memory back ...
    (comp.lang.python)
  • Re: ten thousand small processes
    ... alloca() is inadequate. ... Memory allocation doesn't always follow a stack ... I certainly can't predict memory use at the top of main. ... assumes that the memory he gets from sbrk() is contiguous. ...
    (freebsd-performance)
  • Re: Regarding brk and sbrk
    ... where brk and sbrk are used to allocate memory. ...
    (comp.lang.c)
  • huge bss segment and sbrk failure with rhel 32bit hugemem
    ... I am trying to push 32 bit linux almost to the limit as ... far as the use of virtual memory within a single process. ... Sometimes it seems that sbrk is failing, ... I have a huge, (really huge, approx 3.8 gig) bss segment, using the ...
    (comp.os.linux.development.system)