3 ms·
> go directly to mmap system call TFA said that, too... IIRC (and based on a quick googling), mmap is for memory-mapping files into the virtual address space.
by commandlinefan 2y ago
> go directly to mmap system call
TFA said that, too... IIRC (and based on a quick googling), mmap is for memory-mapping files into the virtual address space. I thought sbrk() was used for low-level adjustment of available memory and malloc was responsible for managing an allocation handed to it by the sbrk() call. Or has that fallen out of fashion since I last did low-level C programming?