mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-27 13:00:28 +00:00
Remove sync_file_range()
After hearing horror stories from a trusted colleague, I don't think this is the kind of API we want to be supporting. Also SQLite wisdom regarding fdatasync() has been added to the documentation.
This commit is contained in:
parent
8318d67503
commit
8f5e516b39
14 changed files with 8 additions and 65 deletions
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,SYNC_FILE_RANGE_WAIT_AFTER,4,4,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,SYNC_FILE_RANGE_WAIT_BEFORE,1,1,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,SYNC_FILE_RANGE_WRITE,2,2,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon nr,__NR_sync_file_range,0x0115,0x0054,0xfff,0xfff,0xfff,0xfff,0xfff,0xfff
|
|
@ -269,7 +269,6 @@ extern const int __NR_faccessat;
|
|||
extern const int __NR_unshare;
|
||||
extern const int __NR_splice;
|
||||
extern const int __NR_tee;
|
||||
extern const int __NR_sync_file_range;
|
||||
extern const int __NR_vmsplice;
|
||||
extern const int __NR_migrate_pages;
|
||||
extern const int __NR_move_pages;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue