support vfork on i386
[musl] / src / process / i386 / vfork.s
1 .global __vfork
2 .weak vfork
3 .type __vfork,@function
4 .type vfork,@function
5 __vfork:
6 vfork:
7         pop %edx
8         mov $190,%eax
9         int $128
10         push %edx
11         push %eax
12         call __syscall_ret
13         pop %edx
14         ret