newlib-cygwin/newlib/libc/sys/sysvi386/fork.s

13 lines
132 B
ArmAsm
Raw Normal View History

2000-02-18 03:39:52 +08:00
.globl _fork
.globl fork
_fork:
fork:
movl $2, %eax
lcall $7,$0
jb _cerror
testl %edx, %edx
je bye
xorl %eax,%eax
bye:
ret