Add devoptab support to replace the libioushax devoptab

This commit is contained in:
Maschell
2022-07-22 14:46:29 +02:00
parent 6019c6947a
commit 2ac50e4392
35 changed files with 1572 additions and 14 deletions

View File

@@ -0,0 +1,11 @@
#include "devoptab_fsa.h"
#include "logger.h"
#include <mutex>
int __fsa_fchmod(struct _reent *r,
void *fd,
mode_t mode) {
// FSChangeMode on open files is not possible on Cafe OS
r->_errno = ENOSYS;
return -1;
}