Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libc-test/semver/apple.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1831,6 +1831,7 @@ cpu_type_t
ctime
ctime_r
ctl_info
devname
difftime
dirfd
dirname
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/dragonfly.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1303,6 +1303,7 @@ cpuctl_cpuid_count_args_t
cpuctl_msr_args_t
cpuctl_update_args_t
daemon
devname
devname_r
difftime
dirfd
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/freebsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1900,6 +1900,7 @@ cpuset_setid
cpusetid_t
daemon
dallocx
devname
devname_r
difftime
dirfd
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/netbsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1255,6 +1255,7 @@ clock_settime
cmsghdr
consttime_memequal
daemon
devname
difftime
dirfd
dirname
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/openbsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,7 @@ clock_getres
clock_settime
cmsghdr
daemon
devname
difftime
dirfd
dirname
Expand Down
2 changes: 2 additions & 0 deletions src/unix/bsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,8 @@ extern "C" {
timeptr: *const crate::tm,
locale: crate::locale_t,
) -> size_t;

pub fn devname(dev: crate::dev_t, mode_t: crate::mode_t) -> *mut c_char;
}

cfg_if! {
Expand Down
Loading