File tree 3 files changed +18
-0
lines changed
src/unix/linux_like/android
3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -2072,6 +2072,18 @@ fn test_android(target: &str) {
2072
2072
// Added in API level 28, but some tests use level 24.
2073
2073
"fread_unlocked" | "fwrite_unlocked" | "fgets_unlocked" | "fflush_unlocked" => true ,
2074
2074
2075
+ // Added in API level 28, but some tests use level 24.
2076
+ "aligned_alloc" => true ,
2077
+
2078
+ // Added in API level 26, but some tests use level 24.
2079
+ "getgrent" => true ,
2080
+
2081
+ // Added in API level 26, but some tests use level 24.
2082
+ "setgrent" => true ,
2083
+
2084
+ // Added in API level 26, but some tests use level 24.
2085
+ "endgrent" => true ,
2086
+
2075
2087
// FIXME: bad function pointers:
2076
2088
"isalnum" | "isalpha" | "iscntrl" | "isdigit" | "isgraph" | "islower" | "isprint"
2077
2089
| "ispunct" | "isspace" | "isupper" | "isxdigit" | "isblank" | "tolower"
Original file line number Diff line number Diff line change @@ -3186,6 +3186,7 @@ dlsym
3186
3186
dup
3187
3187
dup2
3188
3188
duplocale
3189
+ endgrent
3189
3190
endservent
3190
3191
epoll_create
3191
3192
epoll_create1
@@ -3290,6 +3291,7 @@ getegid
3290
3291
getenv
3291
3292
geteuid
3292
3293
getgid
3294
+ getgrent
3293
3295
getgrgid
3294
3296
getgrgid_r
3295
3297
getgrnam
@@ -3684,6 +3686,7 @@ seteuid
3684
3686
setfsgid
3685
3687
setfsuid
3686
3688
setgid
3689
+ setgrent
3687
3690
setgroups
3688
3691
sethostname
3689
3692
setlocale
Original file line number Diff line number Diff line change @@ -3675,6 +3675,9 @@ safe_f! {
3675
3675
}
3676
3676
3677
3677
extern "C" {
3678
+ pub fn setgrent ( ) ;
3679
+ pub fn endgrent ( ) ;
3680
+ pub fn getgrent ( ) -> * mut :: group ;
3678
3681
pub fn getrlimit64 ( resource : :: c_int , rlim : * mut rlimit64 ) -> :: c_int ;
3679
3682
pub fn setrlimit64 ( resource : :: c_int , rlim : * const rlimit64 ) -> :: c_int ;
3680
3683
pub fn getrlimit ( resource : :: c_int , rlim : * mut :: rlimit ) -> :: c_int ;
You can’t perform that action at this time.
0 commit comments