Re: Mem under Linux



Den Sun, 30 Dec 2007 16:10:24 +0000 skrev Frank Kotler:

Thomas Jensen wrote:
Can someone help me with a link to a tutorial or a book, where I can
learn about memory in Linux, so I can make dynamic allocations with
syscalls, without malloc.



<http://savannah.nongnu.org/projects/pgubook/>

This uses AT&T syntax.

Great! So do I... :-)



(note that you can also use sys_mmap of an anonymous object to get
memory - dunno which is best...)



Well, I have seen mmap and brk mentioned in relation to memory, but I
don't know what they do... yet.

Thanks a lot - also to Charles!

--
Thomas
.



Relevant Pages

  • Re: GetAnimationSet
    ... If I use (syntax from memory) ... the strange thing is tha tLP3DXKeyFramededAnimationSet anim; ... myanimationketset); ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Using memory pool with operators new/delete
    ... pre-allocated memory pool that manages only blocks of the same size (the ... The call number works correctly (it allocates the memory and calls the ... can't be an ordinary function call but it also won't be called by the syntax ... Use of the delete keyword never calls operator delete with multiple ...
    (microsoft.public.vc.language)
  • Re: Re-Posting Data
    ... looping over the collection (warning: I'm coding from memory, syntax may ...
    (microsoft.public.inetserver.asp.general)
  • Re: Comparing pointers to NULL
    ... Had I designed the language from the beginning, I would have used the syntax ... of [pointer] for all pointer dereference. ... So if you think of 0 as being a reference to all of memory itself, ...
    (comp.lang.c)
  • Re: What are the domains that lisp doesnt fit int?
    ... Maybe "syntax" was the wrong word for Lisp. ... This pointer can then be ... used to access memory, ...
    (comp.lang.lisp)