]> git.proxmox.com Git - mirror_lxc.git/commitdiff
add prototype for clone(2) as per manpage
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 4 Sep 2012 19:06:29 +0000 (14:06 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 25 Oct 2012 08:24:34 +0000 (10:24 +0200)
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/namespace.h

index 5442dd3b7eecea22509f0f4949c957232b29354c..f839f4510f020bbf52f59908fb84103c457c0906 100644 (file)
 #ifndef CLONE_NEWNET
 #  define CLONE_NEWNET            0x40000000
 #endif
+int clone(int (*fn)(void *), void *child_stack,
+       int flags, void *arg, ...
+       /* pid_t *ptid, struct user_desc *tls, pid_t *ctid */ );
+
 
 extern pid_t lxc_clone(int (*fn)(void *), void *arg, int flags);