fixed bash/dash/sh issue (Ubuntu)
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / sys / sysvi386 / pipe.s
blob6365bcbe6bb5fe909b9700fd0e35b101951409ee
1 .globl _pipe
2 .globl pipe
3 _pipe:
4 pipe:
5 movl $0x2a, %eax
6 lcall $7,$0
7 jb _cerror
8 movl 4(%esp), %ecx
9 movl (%ecx), %eax
10 movl 4(%ecx), %edx
11 xor %eax, %eax
12 ret