diff options
author | Carl Lerche <me@carllerche.com> | 2015-02-25 12:24:43 -0800 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2015-02-25 12:24:43 -0800 |
commit | 8a7cd5675d38365d96e322693f455b2cd7fea6e5 (patch) | |
tree | 860341241eddeda0168c06bfbdb2d6d1df1ec702 /src/unistd.rs | |
parent | fcc952a18c054821480964bc1b0f7b32e7728e62 (diff) | |
download | nix-8a7cd5675d38365d96e322693f455b2cd7fea6e5.zip |
Large cleanup, mostly of socket functions
Diffstat (limited to 'src/unistd.rs')
-rw-r--r-- | src/unistd.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/unistd.rs b/src/unistd.rs index dd1d8d1a..a407b26c 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -1,3 +1,5 @@ +//! Standard symbolic constants and types +//! use {NixError, NixResult, NixPath, from_ffi}; use errno::Errno; use fcntl::{fcntl, Fd, OFlag, O_NONBLOCK, O_CLOEXEC, FD_CLOEXEC}; @@ -354,7 +356,7 @@ pub fn unlink<P: NixPath>(path: P) -> NixResult<()> { #[cfg(target_os = "linux")] mod linux { - use syscall::{syscall, SYSPIVOTROOT}; + use sys::syscall::{syscall, SYSPIVOTROOT}; use errno::Errno; use {NixError, NixResult, NixPath}; |