mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 16:18:16 +00:00
add prototype for clone(2) as per manpage
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
d0a36f2c8b
commit
fbef4590b7
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user