Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Function

clone2

Public Function
std.os.linux.clone2
pub fn clone2(flags: u32, child_stack_ptr: usize) usize

See also clone (from the arch-specific include)

Params

  • flags: u32
  • child_stack_ptr: usize

File

os/linux.zig:1736
1736
1737
1738
pub fn clone2(flags: u32, child_stack_ptr: usize) usize {
    return syscall2(.clone, flags, child_stack_ptr);
}