Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in malloc

aligned malloc() in GCC?

c gcc malloc

malloc & placement new vs. new

Does malloc() allocate a contiguous block of memory?

c coding-style malloc

Specifically, how does fork() handle dynamically allocated memory from malloc() in Linux?

c linux malloc fork heap-memory

Is it better to allocate memory in the power of two?

c memory-management malloc

C: Correctly freeing memory of a multi-dimensional array

Can you allocate a very large single chunk of memory ( > 4GB ) in c or c++?

c++ c memory malloc

Create a wrapper function for malloc and free in C

If `malloc(0)` returns a non-null pointer, can I pass that to `free`?

Is it well-defined to use a pointer pointing to one-past-malloc?

Why does C++ require a cast for malloc() but C doesn't?

c++ c malloc

Overriding 'malloc' using the LD_PRELOAD mechanism

c malloc dynamic-linking

malloc: *** error: incorrect checksum for freed object - object was probably modified after being freed

ios objective-c c crash malloc

If free() knows the length of my array, why can't I ask for it in my own code?

c memory free malloc

sprintf() with automatic memory allocation?

c malloc printf

malloc vs mmap in C

c malloc mmap

Time complexity of memory allocation

difference between <stdlib.h> and <malloc.h>

c gcc malloc

Use of cudamalloc(). Why the double pointer?

c cuda malloc

Is there a way to mark a chunk of allocated memory readonly?