ref: 40a2725c8ac2caae64b232be7be807059671708c
parent: 5ca25b7878e0ae8e5843d46e650e3cd487f37080
author: Ori Bernstein <[email protected]>
date: Mon Sep 22 17:20:14 EDT 2014
Implement clone.
--- a/libstd/sys-linux.myr
+++ b/libstd/sys-linux.myr
@@ -545,6 +545,7 @@
const getpid : ( -> pid)
const kill : (pid:pid, sig:int64 -> int64)
const fork : (-> pid)
+ const clone : (flags : uint64, stk : void#, ptid : void#, ctid : void#, ptreg : void# -> pid)
const wait4 : (pid:pid, loc:int32#, opt : int64, usage:rusage# -> int64)
const waitpid : (pid:pid, loc:int32#, opt : int64 -> int64)
const execv : (cmd : byte[:], args : byte[:][:] -> int64)