Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git] / newlib / libc / sys / sysvi386 / fork.S
blob8c9b60035eb4133eca4e0000c684dcf7b601d6fe
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