summaryrefslogtreecommitdiffstats
path: root/src/proto/fileio.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-02-14 12:56:36 +0100
committerBram Moolenaar <Bram@vim.org>2019-02-14 12:56:36 +0100
commita787019518a540a7b4d0070f15467931b870ac89 (patch)
tree684243a253d30b00c171f25144798f80400ecc4b /src/proto/fileio.pro
parent5fd0f5052f9a312bb4cfe7b4176b1211d45127ee (diff)
patch 8.1.0915: fsync() may not work properly on Macv8.1.0915
Problem: fsync() may not work properly on Mac. Solution: Use fcntl() with F_FULLFSYNC. (suggested by Justin M. Keyes)
Diffstat (limited to 'src/proto/fileio.pro')
-rw-r--r--src/proto/fileio.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/fileio.pro b/src/proto/fileio.pro
index 21ac55c9d1..e99cbc8bfd 100644
--- a/src/proto/fileio.pro
+++ b/src/proto/fileio.pro
@@ -7,6 +7,7 @@ void set_file_options(int set_options, exarg_T *eap);
void set_forced_fenc(exarg_T *eap);
int check_file_readonly(char_u *fname, int perm);
int buf_write(buf_T *buf, char_u *fname, char_u *sfname, linenr_T start, linenr_T end, exarg_T *eap, int append, int forceit, int reset_changed, int filtering);
+int vim_fsync(int fd);
void msg_add_fname(buf_T *buf, char_u *fname);
void msg_add_lines(int insert_space, long lnum, off_T nchars);
char_u *shorten_fname1(char_u *full_path);