Commit fbef4590 by Serge Hallyn Committed by Stéphane Graber

add prototype for clone(2) as per manpage

parent d0a36f2c
...@@ -47,6 +47,10 @@ ...@@ -47,6 +47,10 @@
#ifndef CLONE_NEWNET #ifndef CLONE_NEWNET
# define CLONE_NEWNET 0x40000000 # define CLONE_NEWNET 0x40000000
#endif #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); extern pid_t lxc_clone(int (*fn)(void *), void *arg, int flags);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment