@@ -1673,10 +1673,14 @@ extern "C" {
16731673 pub fn setgroups ( ngroups : :: size_t , ptr : * const :: gid_t ) -> :: c_int ;
16741674 pub fn pipe2 ( fds : * mut :: c_int , flags : :: c_int ) -> :: c_int ;
16751675 pub fn statfs ( path : * const :: c_char , buf : * mut statfs ) -> :: c_int ;
1676+ #[ cfg( not( target_env = "musl" ) ) ]
16761677 pub fn statfs64 ( path : * const :: c_char , buf : * mut statfs64 ) -> :: c_int ;
16771678 pub fn fstatfs ( fd : :: c_int , buf : * mut statfs ) -> :: c_int ;
1679+ #[ cfg( not( target_env = "musl" ) ) ]
16781680 pub fn fstatfs64 ( fd : :: c_int , buf : * mut statfs64 ) -> :: c_int ;
1681+ #[ cfg( not( target_env = "musl" ) ) ]
16791682 pub fn statvfs64 ( path : * const :: c_char , buf : * mut statvfs64 ) -> :: c_int ;
1683+ #[ cfg( not( target_env = "musl" ) ) ]
16801684 pub fn fstatvfs64 ( fd : :: c_int , buf : * mut statvfs64 ) -> :: c_int ;
16811685 pub fn memrchr ( cx : * const :: c_void , c : :: c_int , n : :: size_t ) -> * mut :: c_void ;
16821686
@@ -1698,16 +1702,22 @@ extern "C" {
16981702 pub fn freelocale ( loc : :: locale_t ) ;
16991703 pub fn newlocale ( mask : :: c_int , locale : * const :: c_char , base : :: locale_t ) -> :: locale_t ;
17001704 pub fn uselocale ( loc : :: locale_t ) -> :: locale_t ;
1705+ #[ cfg( not( target_env = "musl" ) ) ]
17011706 pub fn creat64 ( path : * const c_char , mode : mode_t ) -> :: c_int ;
1707+ #[ cfg( not( target_env = "musl" ) ) ]
17021708 pub fn fstat64 ( fildes : :: c_int , buf : * mut stat64 ) -> :: c_int ;
1709+ #[ cfg( not( target_env = "musl" ) ) ]
17031710 pub fn fstatat64 (
17041711 dirfd : :: c_int ,
17051712 pathname : * const c_char ,
17061713 buf : * mut stat64 ,
17071714 flags : :: c_int ,
17081715 ) -> :: c_int ;
1716+ #[ cfg( not( target_env = "musl" ) ) ]
17091717 pub fn ftruncate64 ( fd : :: c_int , length : off64_t ) -> :: c_int ;
1718+ #[ cfg( not( target_env = "musl" ) ) ]
17101719 pub fn lseek64 ( fd : :: c_int , offset : off64_t , whence : :: c_int ) -> off64_t ;
1720+ #[ cfg( not( target_env = "musl" ) ) ]
17111721 pub fn lstat64 ( path : * const c_char , buf : * mut stat64 ) -> :: c_int ;
17121722 pub fn mmap64 (
17131723 addr : * mut :: c_void ,
@@ -1717,22 +1727,30 @@ extern "C" {
17171727 fd : :: c_int ,
17181728 offset : off64_t ,
17191729 ) -> * mut :: c_void ;
1730+ #[ cfg( not( target_env = "musl" ) ) ]
17201731 pub fn open64 ( path : * const c_char , oflag : :: c_int , ...) -> :: c_int ;
1732+ #[ cfg( not( target_env = "musl" ) ) ]
17211733 pub fn openat64 ( fd : :: c_int , path : * const c_char , oflag : :: c_int , ...) -> :: c_int ;
1734+ #[ cfg( not( target_env = "musl" ) ) ]
17221735 pub fn pread64 ( fd : :: c_int , buf : * mut :: c_void , count : :: size_t , offset : off64_t ) -> :: ssize_t ;
1736+ #[ cfg( not( target_env = "musl" ) ) ]
17231737 pub fn pwrite64 (
17241738 fd : :: c_int ,
17251739 buf : * const :: c_void ,
17261740 count : :: size_t ,
17271741 offset : off64_t ,
17281742 ) -> :: ssize_t ;
1743+ #[ cfg( not( target_env = "musl" ) ) ]
17291744 pub fn readdir64 ( dirp : * mut :: DIR ) -> * mut :: dirent64 ;
1745+ #[ cfg( not( target_env = "musl" ) ) ]
17301746 pub fn readdir64_r (
17311747 dirp : * mut :: DIR ,
17321748 entry : * mut :: dirent64 ,
17331749 result : * mut * mut :: dirent64 ,
17341750 ) -> :: c_int ;
1751+ #[ cfg( not( target_env = "musl" ) ) ]
17351752 pub fn stat64 ( path : * const c_char , buf : * mut stat64 ) -> :: c_int ;
1753+ #[ cfg( not( target_env = "musl" ) ) ]
17361754 pub fn truncate64 ( path : * const c_char , length : off64_t ) -> :: c_int ;
17371755
17381756 pub fn mknodat (
0 commit comments