We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fbce6c commit fa465a9Copy full SHA for fa465a9
src/unix/bsd/netbsdlike/netbsd/mod.rs
@@ -922,7 +922,7 @@ pub const SOCK_NONBLOCK: ::c_int = 0x20000000;
922
// http://cvsweb.netbsd.org/bsdweb.cgi/src/include/dirent.h?rev=1.36
923
f! {
924
pub fn dirfd(dirp: *mut ::DIR) -> ::c_int {
925
- unsafe { *(dirp as *const ::c_int) }
+ *(dirp as *const ::c_int)
926
}
927
928
pub fn WIFCONTINUED(status: ::c_int) -> bool {
0 commit comments