feture match with master

This commit is contained in:
2026-09-11 03:50:43 +01:00
parent bcaf026ef5
commit 79bc676f49
16 changed files with 293 additions and 11 deletions
+5 -1
View File
@@ -4,8 +4,12 @@
#include "LocalHeader.h"
#include "stdWullie/definitions/typeNull.h"
#include "stdWullie/definitions/int.h"
#include "stdWullie/exit.h"
#include "stdWullie/filehandle/readWrite.h"
#define WrathINT
long reader(long fd, char *string, size_t buflen){
if(buflen <= 0){
safeError("can not parse 0 characters");
@@ -15,7 +19,7 @@ long reader(long fd, char *string, size_t buflen){
}
long writer(long fd, const char *string, size_t buflen){
if(bufflen <=0){
if(buflen <=0){
safeError("can not write 0 characters to a file");
}
syscall3(SYS_write, fd, (long)string, (long)buflen);