source: trunk/libs/newlib/src/newlib/libc/sys/sysvi386/fork.S

Last change on this file was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 132 bytes
Line 
1        .globl  _fork
2        .globl  fork
3_fork:
4fork:
5        movl    $2, %eax
6        lcall   $7,$0
7        jb      _cerror
8        testl   %edx, %edx
9        je      bye
10        xorl    %eax,%eax
11bye:
12        ret
Note: See TracBrowser for help on using the repository browser.