26 lines
419 B
Markdown
26 lines
419 B
Markdown
# 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
|
|
|
|
- `make`
|
|
- (optional) `sudo make install`
|
|
- yeag
|
|
|
|
## why
|
|
|
|
i was bored
|