Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// this code is licenced under Wrathmark licence
|
||||
// © 2026 wullie wulliestudio.com
|
||||
// please see attached licence for full usage and rights
|
||||
|
||||
#include "LocalHeader.h"
|
||||
#include "stdWullie/definitions/typeNull.h"
|
||||
#include "stdWullie/exit.h"
|
||||
|
||||
long reader(long fd, char *string, size_t count){
|
||||
if(count <= 0){
|
||||
safeError("can not parse 0 characters");
|
||||
}
|
||||
syscall3(SYS_read, fd, (long)string, (long)count);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user