clone() on arm64

This commit is contained in:
Shawn Landden
2018-08-30 02:45:10 +00:00
parent f8808edff4
commit cba0d76fbc
2 changed files with 60 additions and 28 deletions

View File

@@ -366,7 +366,7 @@ pub fn syscall6(
}
/// This matches the libc clone function.
pub extern fn clone(func: extern fn (arg: usize) u8, stack: usize, flags: usize, arg: usize, ptid: *i32, tls: usize, ctid: *i32) usize;
pub extern fn clone(func: extern fn (arg: usize) u8, stack: usize, flags: u32, arg: usize, ptid: *i32, tls: usize, ctid: *i32) usize;
pub const msghdr = extern struct {
msg_name: *u8,