9 lines
180 B
Plaintext
Raw Normal View History

2024-07-18 19:10:27 +00:00
import sys
2024-08-05 16:47:24 +00:00
alloc(length Int) -> Pointer {
return sys.mmap(0, length, 0x1|0x2, 0x02|0x20|0x100)
2024-07-18 19:10:27 +00:00
}
2024-08-05 16:47:24 +00:00
free(address Pointer, length Int) -> Int {
2024-07-18 19:10:27 +00:00
return sys.munmap(address, length)
}