File tree 3 files changed +15
-0
lines changed
src/unix/linux_like/android
3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -2015,6 +2015,15 @@ fn test_android(target: &str) {
2015
2015
// Added in API level 28, but some tests use level 24.
2016
2016
"aligned_alloc" => true ,
2017
2017
2018
+ // Added in API level 26, but some tests use level 24.
2019
+ "getgrent" => true ,
2020
+
2021
+ // Added in API level 26, but some tests use level 24.
2022
+ "setgrent" => true ,
2023
+
2024
+ // Added in API level 26, but some tests use level 24.
2025
+ "endgrent" => true ,
2026
+
2018
2027
// FIXME: bad function pointers:
2019
2028
"isalnum" | "isalpha" | "iscntrl" | "isdigit" | "isgraph" | "islower" | "isprint"
2020
2029
| "ispunct" | "isspace" | "isupper" | "isxdigit" | "isblank" | "tolower"
Original file line number Diff line number Diff line change @@ -3223,6 +3223,7 @@ dlsym
3223
3223
dup
3224
3224
dup2
3225
3225
duplocale
3226
+ endgrent
3226
3227
endservent
3227
3228
epoll_create
3228
3229
epoll_create1
@@ -3327,6 +3328,7 @@ getegid
3327
3328
getenv
3328
3329
geteuid
3329
3330
getgid
3331
+ getgrent
3330
3332
getgrgid
3331
3333
getgrgid_r
3332
3334
getgrnam
@@ -3724,6 +3726,7 @@ seteuid
3724
3726
setfsgid
3725
3727
setfsuid
3726
3728
setgid
3729
+ setgrent
3727
3730
setgroups
3728
3731
sethostname
3729
3732
setlocale
Original file line number Diff line number Diff line change @@ -3679,6 +3679,9 @@ safe_f! {
3679
3679
}
3680
3680
3681
3681
extern "C" {
3682
+ pub fn setgrent ( ) ;
3683
+ pub fn endgrent ( ) ;
3684
+ pub fn getgrent ( ) -> * mut :: group ;
3682
3685
pub fn getrlimit64 ( resource : :: c_int , rlim : * mut rlimit64 ) -> :: c_int ;
3683
3686
pub fn setrlimit64 ( resource : :: c_int , rlim : * const rlimit64 ) -> :: c_int ;
3684
3687
pub fn getrlimit ( resource : :: c_int , rlim : * mut :: rlimit ) -> :: c_int ;
You can’t perform that action at this time.
0 commit comments