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;
1717
1818use libc:: { c_int, c_void} ;
1919
20- pub type zx_handle_t = i32 ;
20+ pub type zx_handle_t = u32 ;
2121pub type zx_vaddr_t = usize ;
2222pub type zx_rights_t = u32 ;
2323pub type zx_status_t = i32 ;
2424
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.
2530pub type zx_size_t = usize ;
2631
2732pub const ZX_HANDLE_INVALID : zx_handle_t = 0 ;
You can’t perform that action at this time.
0 commit comments