mirror of
https://github.com/Fennix-Project/Userspace.git
synced 2025-08-27 05:45:02 +00:00
Update userspace
This commit is contained in:
@@ -10,6 +10,12 @@ PUBLIC FILE *stdin = NULL;
|
||||
PUBLIC FILE *stdout = NULL;
|
||||
PUBLIC FILE *stderr = NULL;
|
||||
|
||||
PUBLIC FILE *freopen(const char *filename, const char *mode, FILE *stream)
|
||||
{
|
||||
errno = ENOSYS;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
PUBLIC FILE *fopen(const char *filename, const char *mode)
|
||||
{
|
||||
int fd = syscall2(sys_FileOpen, (uint64_t)filename, (uint64_t)mode);
|
||||
|
9
libc/src/std/io/get.c
Normal file
9
libc/src/std/io/get.c
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <fennix/syscall.h>
|
||||
|
||||
#include <sys/types.h> // For PUBLIC
|
||||
|
||||
PUBLIC int fgetc(FILE *stream)
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user