added file handling again

This commit is contained in:
2026-08-20 16:40:32 +01:00
parent ee00f3ee3d
commit bcaf026ef5
6 changed files with 52 additions and 4 deletions
@@ -0,0 +1,15 @@
// this code is licenced under Wrathmark licence
// © 2026 wullie wulliestudio.com
// please see attached licence for full usage and rights
#ifndef UMODETYPES_H
#define UMODETYPES_H
#ifdef __linux__
#elif __FreeBSD__
#endif
#endif
+9
View File
@@ -0,0 +1,9 @@
// this code is licenced under Wrathmark licence
// © 2026 wullie wulliestudio.com
// please see attached licence for full usage and rights
#ifndef CLOSEOPEN_H
#define CLOSEOPEN_H
long Wopen(const char *pathname, int flags, int mode);
long closeFile(int fd);
#endif
+12
View File
@@ -0,0 +1,12 @@
// this code is licenced under Wrathmark licence
// © 2026 wullie wulliestudio.com
// please see attached licence for full usage and rights
#ifndef READWRITE_H
#define READWRITE_H
long reader(long fd, char *string, size_t buflen);
long writer(long fd, const char *string, size_t buflen);
#endif