2013-10-16 23:27:59 +02:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-11-07 19:31:05 +01:00
|
|
|
#include <private/bionic_asm.h>
|
2010-09-27 17:33:08 +02:00
|
|
|
|
2013-02-07 02:08:15 +01:00
|
|
|
ENTRY(pipe2)
|
2010-09-27 17:33:08 +02:00
|
|
|
pushl %ebx
|
|
|
|
pushl %ecx
|
2014-01-07 01:39:10 +01:00
|
|
|
.cfi_def_cfa_offset 8
|
|
|
|
.cfi_rel_offset ebx, 0
|
|
|
|
.cfi_rel_offset ecx, 4
|
2010-09-27 17:33:08 +02:00
|
|
|
mov 12(%esp), %ebx
|
|
|
|
mov 16(%esp), %ecx
|
|
|
|
movl $__NR_pipe2, %eax
|
|
|
|
int $0x80
|
2013-03-12 22:57:30 +01:00
|
|
|
cmpl $-MAX_ERRNO, %eax
|
2010-09-27 17:33:08 +02:00
|
|
|
jb 1f
|
|
|
|
negl %eax
|
|
|
|
pushl %eax
|
|
|
|
call __set_errno
|
|
|
|
addl $4, %esp
|
|
|
|
orl $-1, %eax
|
|
|
|
1:
|
|
|
|
popl %ecx
|
|
|
|
popl %ebx
|
|
|
|
ret
|
2013-02-07 02:08:15 +01:00
|
|
|
END(pipe2)
|