about summary refs log tree commit diff
path: root/include/clone_internal.h
blob: 4b23ef33cedd6c116bbb8c43acdb81a5ffca5a4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _CLONE3_H
#include_next <clone3.h>

extern __typeof (clone3) __clone3;

/* The internal wrapper of clone/clone2 and clone3.  If __clone3 returns
   -1 with ENOSYS, fall back to clone or clone2.  */
extern int __clone_internal (struct clone_args *__cl_args,
			     int (*__func) (void *__arg), void *__arg);

#ifndef _ISOMAC
libc_hidden_proto (__clone3)
libc_hidden_proto (__clone_internal)
#endif

#endif