We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c0cf280 + 7efffc1 commit 229bd66Copy full SHA for 229bd66
src/unix/mod.rs
@@ -715,8 +715,10 @@ extern {
715
pub fn mktime(tm: *mut tm) -> time_t;
716
#[cfg_attr(target_os = "netbsd", link_name = "__time50")]
717
pub fn time(time: *mut time_t) -> time_t;
718
+ #[cfg_attr(target_os = "netbsd", link_name = "__gmtime50")]
719
+ pub fn gmtime(time_p: *const time_t) -> *mut tm;
720
#[cfg_attr(target_os = "netbsd", link_name = "__locatime50")]
- pub fn localtime(time: *const time_t) -> *mut tm;
721
+ pub fn localtime(time_p: *const time_t) -> *mut tm;
722
723
#[cfg_attr(target_os = "netbsd", link_name = "__mknod50")]
724
pub fn mknod(pathname: *const ::c_char, mode: ::mode_t,
0 commit comments