update and add spec links

Changed files
+5 -1
src
header
sys_statvfs
+5 -1
src/header/sys_statvfs/mod.rs
··· 1 - //! statvfs implementation for Redox, following http://pubs.opengroup.org/onlinepubs/7908799/xsh/sysstatvfs.h.html 1 + //! `sys_statvfs.h` implementation. 2 + //! 3 + //! See <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/sys_statvfs.h.html>. 2 4 3 5 use crate::{ 4 6 c_str::CStr, ··· 27 29 pub f_namemax: c_ulong, 28 30 } 29 31 32 + /// See <https://pubs.opengroup.org/onlinepubs/9799919799/functions/fstatvfs.html>. 30 33 #[unsafe(no_mangle)] 31 34 pub unsafe extern "C" fn fstatvfs(fildes: c_int, buf: *mut statvfs) -> c_int { 32 35 let buf = Out::nonnull(buf); 33 36 Sys::fstatvfs(fildes, buf).map(|()| 0).or_minus_one_errno() 34 37 } 35 38 39 + /// See <https://pubs.opengroup.org/onlinepubs/9799919799/functions/fstatvfs.html>. 36 40 #[unsafe(no_mangle)] 37 41 pub unsafe extern "C" fn statvfs(file: *const c_char, buf: *mut statvfs) -> c_int { 38 42 let file = CStr::from_ptr(file);