Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

What is the sbrk equivalent in Windows?

Name: Anonymous 2012-02-08 14:55

In the unlikely case that it matters, XP/7.

Name: Anonymous 2012-02-08 15:16

VirtualAlloc, except it's more like mmap with anonymous memory than sbrk. Emacs has a Win32 implementation of sbrk using VirtualAlloc in w32heap.c.

Name: Anonymous 2012-02-08 15:18

>>2
Thank you.

Name: Anonymous 2012-02-08 15:21

'
>2012
>using shitty memory allocation functions like sbrk

Name: Anonymous 2012-02-08 15:24

>>4
What do you suggest he use instead?

Name: Anonymous 2012-02-08 15:34

>>5
MANUAL ALLOCATION OF HIS OWN KIND

Name: Anonymous 2012-02-08 15:42

>>6
Manual allocation still requires system calls.

Name: Anonymous 2012-02-08 15:42

>>7
Not if you make the system calls

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List