source:
trunk/libs/newlib/src/newlib/libc/sys/sysvi386/fork.S
Last change on this file was 444, checked in by , 6 years ago | |
---|---|
File size: 132 bytes |
Line | |
---|---|
1 | .globl _fork |
2 | .globl fork |
3 | _fork: |
4 | fork: |
5 | movl $2, %eax |
6 | lcall $7,$0 |
7 | jb _cerror |
8 | testl %edx, %edx |
9 | je bye |
10 | xorl %eax,%eax |
11 | bye: |
12 | ret |
Note: See TracBrowser
for help on using the repository browser.