@@ -699,6 +699,7 @@ extern "C" {
699
699
all( target_os = "freebsd" , any( freebsd11, freebsd10) ) ,
700
700
link_name = "fstat@FBSD_1.0"
701
701
) ]
702
+ #[ cfg_attr( target_os = "dragonfly" , allow( deprecated) ) ]
702
703
pub fn fstat ( fildes : :: c_int , buf : * mut stat ) -> :: c_int ;
703
704
704
705
pub fn mkdir ( path : * const c_char , mode : mode_t ) -> :: c_int ;
@@ -712,6 +713,7 @@ extern "C" {
712
713
all( target_os = "freebsd" , any( freebsd11, freebsd10) ) ,
713
714
link_name = "stat@FBSD_1.0"
714
715
) ]
716
+ #[ cfg_attr( target_os = "dragonfly" , allow( deprecated) ) ]
715
717
pub fn stat ( path : * const c_char , buf : * mut stat ) -> :: c_int ;
716
718
717
719
pub fn pclose ( stream : * mut :: FILE ) -> :: c_int ;
@@ -796,6 +798,7 @@ extern "C" {
796
798
all( target_os = "freebsd" , any( freebsd11, freebsd10) ) ,
797
799
link_name = "fstatat@FBSD_1.1"
798
800
) ]
801
+ #[ cfg_attr( target_os = "dragonfly" , allow( deprecated) ) ]
799
802
pub fn fstatat (
800
803
dirfd : :: c_int ,
801
804
pathname : * const :: c_char ,
@@ -987,6 +990,7 @@ extern "C" {
987
990
all( target_os = "freebsd" , any( freebsd11, freebsd10) ) ,
988
991
link_name = "lstat@FBSD_1.0"
989
992
) ]
993
+ #[ cfg_attr( target_os = "dragonfly" , allow( deprecated) ) ]
990
994
pub fn lstat ( path : * const c_char , buf : * mut stat ) -> :: c_int ;
991
995
992
996
#[ cfg_attr(
0 commit comments