LibC: add syncsync() to unistd.h

This is my own WELL NAMED (:D) function that takes a paramemeter
to make the sync operation synchronous.
This commit is contained in:
Bananymous
2023-09-27 00:35:36 +03:00
parent 1e6930a3bc
commit a69e5fb288
2 changed files with 7 additions and 1 deletions

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);