Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in malloc

How to use realloc in a function in C

c arrays malloc

Should I free memory before exit?

Allocating memory for a Structure in C

c malloc structure

malloced array VS. variable-length-array [duplicate]

An alternative for the deprecated __malloc_hook functionality of glibc

c gcc malloc deprecated glibc

When to use malloc for char pointers

c pointers malloc char

How can I allocate memory and return it (via a pointer-parameter) to the calling function?

c pointers malloc

Under what circumstances can malloc return NULL?

c memory-management malloc

Understanding "corrupted size vs. prev_size" glibc error

c++ malloc free jna glibc

How do I free memory in C?

c memory-management 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?