]> git.lizzy.rs Git - rust.git/commit
Add file sync shims
authorDavid Cook <divergentdave@gmail.com>
Wed, 22 Apr 2020 03:01:40 +0000 (22:01 -0500)
committerDavid Cook <divergentdave@gmail.com>
Mon, 18 May 2020 03:10:40 +0000 (22:10 -0500)
commit87c46944482a8cc5a7256fc0d5dcd9fd015b51d6
tree062dd7dc35a7f93e421eff2b50a4757c8e0fc696
parentac09e2f5cde7b8d37d83027b064a1a03af8128a5
Add file sync shims

Adds implementations for fsync, fdatasync, and sync_file_range
src/shims/foreign_items/posix.rs
src/shims/foreign_items/posix/linux.rs
src/shims/fs.rs
tests/run-pass/fs.rs
tests/run-pass/libc.rs