summaryrefslogtreecommitdiff
path: root/src/unistd.rs
diff options
context:
space:
mode:
authorMattis Marjak <mattis.marjak@gmail.com>2015-12-04 01:16:44 +0200
committerCarl Lerche <me@carllerche.com>2016-01-18 21:29:38 -0800
commitcafd7c96f18a8beed8e1328bdabdb29f1434689f (patch)
tree2b9f079a68d8e0192c35f99f93d10597a2aea425 /src/unistd.rs
parent49798be4d445dc224f81eddb636997c1245cdab3 (diff)
downloadnix-cafd7c96f18a8beed8e1328bdabdb29f1434689f.zip
allow improper_ctypes for size_t
Diffstat (limited to 'src/unistd.rs')
-rw-r--r--src/unistd.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unistd.rs b/src/unistd.rs
index 506f0ef9..3d210c44 100644
--- a/src/unistd.rs
+++ b/src/unistd.rs
@@ -16,6 +16,7 @@ mod ffi {
use libc::{c_char, c_int, size_t};
pub use libc::{fork, close, read, write, pipe, ftruncate, unlink, setpgid, getegid, geteuid, getgid, getpid, getppid, getuid};
+ #[allow(improper_ctypes)]
extern {
// duplicate a file descriptor
// doc: http://man7.org/linux/man-pages/man2/dup.2.html