add eaccess on freebsd and dragonfly

This commit is contained in:
Steve Lau 2022-10-09 18:25:49 +08:00
parent 8dcd55656e
commit a36515f3f3
3 changed files with 4 additions and 0 deletions

View file

@ -1536,3 +1536,4 @@ vmspace
wait4
waitid
xucred
eaccess

View file

@ -1925,3 +1925,4 @@ wait4
waitid
xallocx
xucred
eaccess

View file

@ -1731,6 +1731,8 @@ extern "C" {
pub fn eui64_ntoa(id: *const eui64, a: *mut ::c_char, len: ::size_t) -> ::c_int;
pub fn eui64_ntohost(hostname: *mut ::c_char, len: ::size_t, id: *const eui64) -> ::c_int;
pub fn eui64_hostton(hostname: *const ::c_char, id: *mut eui64) -> ::c_int;
pub fn eaccess(path: *const ::c_char, mode: ::c_int) -> ::c_int;
}
#[link(name = "rt")]