diff options
author | Kamal Marhubi <kamal@marhubi.com> | 2016-02-09 19:36:04 -0500 |
---|---|---|
committer | Kamal Marhubi <kamal@marhubi.com> | 2016-02-12 21:12:14 -0500 |
commit | 4680d50a8a225309fc706d032a8dc5e71f819ab5 (patch) | |
tree | 276bb879f543c6522b3761e20471e88caa0b75d9 /src/sys/mod.rs | |
parent | c33ba2908e20a6d74d472f934f7a4fa9b03cfc06 (diff) | |
download | nix-4680d50a8a225309fc706d032a8dc5e71f819ab5.zip |
linux: Add sendfile(2)
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r-- | src/sys/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs index c7fdc4dc..de449b76 100644 --- a/src/sys/mod.rs +++ b/src/sys/mod.rs @@ -16,6 +16,9 @@ pub mod memfd; #[cfg(not(any(target_os = "ios", target_os = "freebsd", target_os = "dragonfly")))] pub mod ioctl; +#[cfg(any(target_os = "linux", target_os = "android"))] +pub mod sendfile; + pub mod signal; #[cfg(any(target_os = "linux", target_os = "android"))] |