API: nvim__stats()

Use it to verify fsync() behavior.
This commit is contained in:
Justin M. Keyes
2018-04-24 00:27:09 +02:00
parent 32f3937477
commit 77cb14cc6d
4 changed files with 31 additions and 7 deletions

View File

@@ -629,6 +629,7 @@ int os_fsync(int fd)
{
int r;
RUN_UV_FS_FUNC(r, uv_fs_fsync, fd, NULL);
g_stats.fsync++;
return r;
}