diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mqueue.rs | 2 | ||||
-rw-r--r-- | src/unistd.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mqueue.rs b/src/mqueue.rs index 1a2c2ead..38834624 100644 --- a/src/mqueue.rs +++ b/src/mqueue.rs @@ -1,4 +1,4 @@ -//! Posis Message Queue functions +//! Posix Message Queue functions //! //! [Further reading and details on the C API](http://man7.org/linux/man-pages/man7/mq_overview.7.html) diff --git a/src/unistd.rs b/src/unistd.rs index 5af84c93..d93355d6 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -54,11 +54,11 @@ mod ffi { pub fn gethostname(name: *mut c_char, len: size_t) -> c_int; // gets the hostname - // doc: http://man7.org/linux/man-pages/man2/gethostname.2.html + // doc: http://man7.org/linux/man-pages/man2/sethostname.2.html pub fn sethostname(name: *const c_char, len: size_t) -> c_int; // change root directory - // doc: http://man7.org/linux/man-pages/man2/gethostname.2.html + // doc: http://man7.org/linux/man-pages/man2/chroot.2.html pub fn chroot(path: *const c_char) -> c_int; } } |