File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/libstd/sys/unix/process Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,16 @@ use u64;
17
17
18
18
use libc:: { c_int, c_void} ;
19
19
20
- pub type zx_handle_t = i32 ;
20
+ pub type zx_handle_t = u32 ;
21
21
pub type zx_vaddr_t = usize ;
22
22
pub type zx_rights_t = u32 ;
23
23
pub type zx_status_t = i32 ;
24
24
25
+ // TODO(raggi): zx_size_t was removed from Zircon. various syscall API docs use size_t here, but
26
+ // don't define that well at the ABI level yet, as the C spec definition of size_t isn't what is
27
+ // meant. In the future Zirocn will define size_t more strictly for it's ABI. At that time,
28
+ // zx_size_t should be removed here, and replaced with an appropriately sized type with a
29
+ // sufficiently strict definition.
25
30
pub type zx_size_t = usize ;
26
31
27
32
pub const ZX_HANDLE_INVALID : zx_handle_t = 0 ;
You can’t perform that action at this time.
0 commit comments