Hacker News new | ask | show | jobs
by haxorrr666 1685 days ago
Nope. Works fine on Fedora 34:

# free -h

               total        used        free      shared  buff/cache   available
Mem: 31Gi 3.1Gi 2.2Gi 27Mi 25Gi 27Gi

Swap: 15Gi 62Mi 15Gi

# uname -a

Linux athena 5.13.19-200.fc34.x86_64 #1 SMP Sat Sep 18 16:32:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

# gcc -o memaloc memaloc.c

# ./memaloc

error!