feat(userspace/libc): implement functions for porting apps

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-03-24 00:40:07 +00:00
parent 27356b7826
commit 0d8c65e44b
22 changed files with 615 additions and 25 deletions

View File

@ -70,5 +70,10 @@ int sysdep(ChangeDirectory)(const char *Pathname);
char *sysdep(GetWorkingDirectory)(char *Buffer, size_t Size);
int sysdep(Brk)(void *Address);
int sysdep(FileControl)(int Descriptor, int Command, void *Arg);
int sysdep(ClockGetTime)(clockid_t ClockID, struct timespec *TP);
time_t sysdep(Time)(void);
clock_t sysdep(Clock)(void);
int sysdep(RemoveDirectory)(const char *Pathname);
int sysdep(Unlink)(const char *Pathname);
#endif // FENNIX_BITS_LIBC_H