]>
Commit | Line | Data |
---|---|---|
d4697bc9 | 1 | /* Copyright (C) 1992-2014 Free Software Foundation, Inc. |
db31c863 | 2 | This file is part of the GNU C Library. |
ebb0156a BK |
3 | Contributed by Brendan Kehoe (brendan@zen.org). |
4 | ||
db31c863 | 5 | The GNU C Library is free software; you can redistribute it and/or |
3214b89b AJ |
6 | modify it under the terms of the GNU Lesser General Public |
7 | License as published by the Free Software Foundation; either | |
8 | version 2.1 of the License, or (at your option) any later version. | |
ebb0156a | 9 | |
db31c863 UD |
10 | The GNU C Library is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
3214b89b | 13 | Lesser General Public License for more details. |
ebb0156a | 14 | |
3214b89b | 15 | You should have received a copy of the GNU Lesser General Public |
ab84e3ff PE |
16 | License along with the GNU C Library. If not, see |
17 | <http://www.gnu.org/licenses/>. */ | |
ebb0156a BK |
18 | |
19 | #include <sysdep.h> | |
20 | ||
21 | SYSCALL__ (pipe, 1) | |
22 | /* Plop in the two descriptors. */ | |
23 | sw v0, 0(a0) | |
24 | sw v1, 4(a0) | |
25 | ||
26 | /* Go out with a clean status. */ | |
ebb0156a | 27 | move v0, zero |
5b917f4e | 28 | j ra |
9cc157d4 | 29 | PSEUDO_END(__pipe) |
1cec31f4 | 30 | |
da5f5f79 | 31 | libc_hidden_def (__pipe) |
1cec31f4 | 32 | weak_alias (__pipe, pipe) |