Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in sbrk
Where does malloc() allocate memory? Is it the data section or the heap section of the virtual address space of the process?
Jun 17, 2026
c
memory-management
malloc
heap-memory
sbrk
Casting a pointer to an int
Feb 21, 2026
c
pointers
malloc
heap-memory
sbrk
can sbrk(0) fail?
Jan 03, 2026
c
glibc
sbrk
About sbrk() and malloc()
Mar 15, 2023
c
linux
operating-system
sbrk
malloc() in newlib : does it waste memory after one big failure allocation?
Feb 09, 2023
c
embedded
malloc
newlib
sbrk
Linux sbrk() as a syscall in assembly
Oct 09, 2022
linux
assembly
system-calls
sbrk
Linux - why is the program break pointer (brk/sbrk) different each time a program is run?
Dec 05, 2020
c
linux
gcc
sbrk
mmap vs sbrk, performance comparison
Oct 26, 2022
c
linux
memory-management
mmap
sbrk
Why malloc(1) gives more than one page size?
Oct 18, 2022
c
malloc
sbrk
Memory allocation in C
Jul 05, 2018
c
memory-management
malloc
sbrk
How/where is sbrk used within malloc.c?
Nov 08, 2022
c
linux
memory-management
malloc
sbrk
What do brk and sbrk stand for?
Nov 14, 2022
c
unix
sbrk
brk
How does sbrk() work in C++?
Sep 23, 2022
c++
malloc
sbrk
How to return memory from process to the OS
Aug 21, 2022
linux
unix
memory
aix
sbrk
What's unsafe/legacy about brk/sbrk?
Sep 16, 2022
c
malloc
legacy
sbrk
brk
Why does calling sbrk(0) twice give a different value?
Mar 17, 2022
c
memory
sbrk
brk
what does "malloc_trim(0)" really mean?
Jan 06, 2022
malloc
glibc
trim
sbrk
Undefined reference to _sbrk
Mar 03, 2022
c
gcc
arm
sbrk
Does malloc() use brk() or mmap()?
Sep 04, 2022
c
memory-management
malloc
mmap
sbrk
How is malloc() implemented internally? [duplicate]
Aug 29, 2022
c
memory
malloc
system-calls
sbrk