Implemented echo example

This commit is contained in:
2024-07-18 21:10:27 +02:00
parent b34470a97d
commit 824efbf424
9 changed files with 70 additions and 58 deletions

9
lib/mem/alloc.q Normal file
View File

@ -0,0 +1,9 @@
import sys
alloc(length) {
return sys.mmap(0, length, 3, 290)
}
free(address, length) {
return sys.munmap(address, length)
}