File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/unix/linux_like/android Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2285,6 +2285,9 @@ pub const AF_VSOCK: ::c_int = 40;
2285
2285
pub const PF_NFC : :: c_int = AF_NFC ;
2286
2286
pub const PF_VSOCK : :: c_int = AF_VSOCK ;
2287
2287
2288
+ // sys/system_properties.h
2289
+ pub const PROP_VALUE_MAX : :: c_int = 92 ;
2290
+
2288
2291
f ! {
2289
2292
pub fn CMSG_NXTHDR ( mhdr: * const msghdr,
2290
2293
cmsg: * const cmsghdr) -> * mut cmsghdr {
@@ -2709,6 +2712,9 @@ extern "C" {
2709
2712
pub fn android_set_abort_message ( msg : * const :: c_char ) ;
2710
2713
2711
2714
pub fn gettid ( ) -> :: pid_t ;
2715
+
2716
+ pub fn __system_property_set ( __name : * const :: c_char , __value : * const :: c_char ) -> :: c_int ;
2717
+ pub fn __system_property_get ( __name : * const :: c_char , __value : * mut :: c_char ) -> :: c_int ;
2712
2718
}
2713
2719
2714
2720
cfg_if ! {
You can’t perform that action at this time.
0 commit comments