feature. See also
. The project being documented here (as the example) is the Zig library itself.
linux.clone
pub fn clone(
func: *const fn (arg: usize) callconv(.c) u8,
stack: usize,
flags: u32,
arg: usize,
ptid: ?*pid_t,
tp: usize,
ctid: ?*pid_t,
) usize
File
Code
pub fn clone(
func: *const fn (arg: usize) callconv(.c) u8,
stack: usize,
flags: u32,
arg: usize,
ptid: ?*pid_t,
tp: usize,
ctid: ?*pid_t,
) usize {
return @as(*const fn (
*const fn (arg: usize) callconv(.c) u8,
usize,
u32,
usize,
?*pid_t,
usize,
?*pid_t,
) callconv(.c) usize, @ptrCast(&syscall_bits.clone))(func, stack, flags, arg, ptid, tp, ctid);
}