update main #1

Merged
Sinipelto merged 240 commits from Bananymous/banan-os:main into main 2023-11-20 13:20:51 +02:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit 6cb8bda6e1 - Show all commits

View File

@ -196,6 +196,7 @@ void swab(const void* __restrict src, void* __restrict dest, ssize_t nbytes);
int symlink(const char* path1, const char* path2);
int symlinkat(const char* path1, int fd, const char* path2);
void sync(void);
void syncsync(int should_block);
long sysconf(int name);
pid_t tcgetpgrp(int fildes);
int tcsetpgrp(int fildes, pid_t pgid_id);

View File

@ -202,7 +202,12 @@ int chdir(const char* path)
void sync(void)
{
syscall(SYS_SYNC);
syscall(SYS_SYNC, false);
}
void syncsync(int should_block)
{
syscall(SYS_SYNC, should_block);
}
pid_t getpid(void)