File tree 2 files changed +24
-0
lines changed
2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ pub type Elf64_Xword = u64;
48
48
49
49
pub type eventfd_t = u64 ;
50
50
51
+ // these structs sit behind a heap allocation on Android
52
+ pub type posix_spawn_file_actions_t = * mut :: c_void ;
53
+ pub type posix_spawnattr_t = * mut :: c_void ;
54
+
51
55
s ! {
52
56
pub struct stack_t {
53
57
pub ss_sp: * mut :: c_void,
Original file line number Diff line number Diff line change @@ -742,6 +742,26 @@ s! {
742
742
pub salt: [ :: c_uchar; TLS_CIPHER_CHACHA20_POLY1305_SALT_SIZE ] ,
743
743
pub rec_seq: [ :: c_uchar; TLS_CIPHER_CHACHA20_POLY1305_REC_SEQ_SIZE ] ,
744
744
}
745
+
746
+ pub struct posix_spawn_file_actions_t {
747
+ __allocated: :: c_int,
748
+ __used: :: c_int,
749
+ __actions: * mut :: c_int,
750
+ __pad: [ :: c_int; 16 ] ,
751
+ }
752
+
753
+ pub struct posix_spawnattr_t {
754
+ __flags: :: c_short,
755
+ __pgrp: :: pid_t,
756
+ __sd: :: sigset_t,
757
+ __ss: :: sigset_t,
758
+ #[ cfg( any( target_env = "musl" , target_env = "ohos" ) ) ]
759
+ __prio: :: c_int,
760
+ #[ cfg( not( any( target_env = "musl" , target_env = "ohos" ) ) ) ]
761
+ __sp: :: sched_param,
762
+ __policy: :: c_int,
763
+ __pad: [ :: c_int; 16 ] ,
764
+ }
745
765
}
746
766
747
767
s_no_extra_traits ! {
You can’t perform that action at this time.
0 commit comments