File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
src/unix/linux_like/android Expand file tree Collapse file tree 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) {
20152015 // Added in API level 28, but some tests use level 24.
20162016 "aligned_alloc" => true ,
20172017
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+
20182027 // FIXME: bad function pointers:
20192028 "isalnum" | "isalpha" | "iscntrl" | "isdigit" | "isgraph" | "islower" | "isprint"
20202029 | "ispunct" | "isspace" | "isupper" | "isxdigit" | "isblank" | "tolower"
Original file line number Diff line number Diff line change @@ -3223,6 +3223,7 @@ dlsym
32233223dup
32243224dup2
32253225duplocale
3226+ endgrent
32263227endservent
32273228epoll_create
32283229epoll_create1
@@ -3327,6 +3328,7 @@ getegid
33273328getenv
33283329geteuid
33293330getgid
3331+ getgrent
33303332getgrgid
33313333getgrgid_r
33323334getgrnam
@@ -3724,6 +3726,7 @@ seteuid
37243726setfsgid
37253727setfsuid
37263728setgid
3729+ setgrent
37273730setgroups
37283731sethostname
37293732setlocale
Original file line number Diff line number Diff line change @@ -3679,6 +3679,9 @@ safe_f! {
36793679}
36803680
36813681extern "C" {
3682+ pub fn setgrent ( ) ;
3683+ pub fn endgrent ( ) ;
3684+ pub fn getgrent ( ) -> * mut :: group ;
36823685 pub fn getrlimit64 ( resource : :: c_int , rlim : * mut rlimit64 ) -> :: c_int ;
36833686 pub fn setrlimit64 ( resource : :: c_int , rlim : * const rlimit64 ) -> :: c_int ;
36843687 pub fn getrlimit ( resource : :: c_int , rlim : * mut :: rlimit ) -> :: c_int ;
You can’t perform that action at this time.
0 commit comments