it allocates memory
Go to file
2024-02-13 03:19:25 +00:00
.gitignore HUGE memory optimisations with long long ints 2024-02-12 01:17:10 +00:00
main.c fixed file output not working unless silent 2024-02-13 03:19:14 +00:00
README.md update readme 2024-02-13 03:19:25 +00:00

memory allocator

it allocates memory

how to use

usage: allocatememory -b <bytes> [-o <output file>] [-s]

OPTIONS
  -h    displays help
  -b    number of bytes to allocate (e.g. 1024, 1g, 64K)
  -o    file to output to
  -s    run silently (requires -b and -o)
  -w    disable warnings ("i know what i'm doing!")

how to compile

  • get a c compiler (i use gcc or clang)
  • gcc -o ./allocatememory -O2 ./main.c
  • ???
  • profit

why

i was bored