summaryrefslogtreecommitdiff
path: root/src/unistd.rs
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2015-02-25 12:24:43 -0800
committerCarl Lerche <me@carllerche.com>2015-02-25 12:24:43 -0800
commit8a7cd5675d38365d96e322693f455b2cd7fea6e5 (patch)
tree860341241eddeda0168c06bfbdb2d6d1df1ec702 /src/unistd.rs
parentfcc952a18c054821480964bc1b0f7b32e7728e62 (diff)
downloadnix-8a7cd5675d38365d96e322693f455b2cd7fea6e5.zip
Large cleanup, mostly of socket functions
Diffstat (limited to 'src/unistd.rs')
-rw-r--r--src/unistd.rs4
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};