added file handling again
This commit is contained in:
@@ -22,6 +22,10 @@
|
||||
// time
|
||||
#include "stdWullie/time.h"
|
||||
|
||||
// file handling
|
||||
#include "stdWullie/filehandle/closeOpen.h"
|
||||
#include "stdWullie/filehandle/readWrite.h"
|
||||
|
||||
|
||||
// string extras
|
||||
#include "stdWullie/String/colours.h"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user