repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixes for host gcc 4.6.1
[zpugcc/jano.git]
/
toolchain
/
gcc
/
newlib
/
libc
/
sys
/
sparc64
/
dup2.S
blob
f46fb703ecc9ce67b6d9fed0cbbe70c256c91780
1
! dup2() system call
2
3
#include "sys/syscallasm.h"
4
5
/* FIXME: rewrite in C to use fcntl */
6
7
#ifndef __svr4__ /* svr4 uses fcntl */
8
defsyscall (dup2, SYS_dup2)
9
#endif