implement fdatasync
Change-Id: I2aefc1acebce93a2c53a6d3be5eef3b9e69480ec Reviewed-on: https://review.haiku-os.org/c/haiku/+/8507 Tested-by: Commit checker robot <[email protected]> Reviewed-by: nephele nephele <[email protected]> Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
258fce50e0
commit
8e086795b2
@@ -72,7 +72,7 @@
|
||||
#define _POSIX_SPAWN (200809L)
|
||||
#define _POSIX_SPIN_LOCKS (-1)
|
||||
#define _POSIX_SPORADIC_SERVER (-1)
|
||||
#define _POSIX_SYNCHRONIZED_IO (-1) /* missing fdatasync() */
|
||||
#define _POSIX_SYNCHRONIZED_IO (200809L)
|
||||
#define _POSIX_THREAD_ATTR_STACKADDR (200809L)
|
||||
#define _POSIX_THREAD_ATTR_STACKSIZE (200809L)
|
||||
#define _POSIX_THREAD_CPUTIME (200809L)
|
||||
@@ -401,6 +401,7 @@ extern off_t lseek(int fd, off_t offset, int whence);
|
||||
|
||||
extern void sync(void);
|
||||
extern int fsync(int fd);
|
||||
extern int fdatasync(int fd);
|
||||
|
||||
extern int chown(const char *path, uid_t owner, gid_t group);
|
||||
extern int fchown(int fd, uid_t owner, gid_t group);
|
||||
|
||||
Reference in New Issue
Block a user