source: trunk/libs/newlib/src/newlib/libc/sys/sysvi386/wait.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: 158 bytes
Line 
1        .globl  _wait
2        .globl  wait
3_wait:
4wait:   
5        movl    $0x7, %eax
6        lcall   $7,$0
7        jb      _cerror
8        movl    4(%esp), %ecx
9        testl   %ecx, %ecx
10        je      bye
11        movl    %edx, (%ecx)
12bye:
13        ret
Note: See TracBrowser for help on using the repository browser.