Home | History | Annotate | Download | only in syscall

Lines Matching full:oldfd

305 func Dup(oldfd int) (fd int, err error) {
306 r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
316 func Dup3(oldfd int, newfd int, flags int) (err error) {
317 _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
1389 func Dup2(oldfd int, newfd int) (err error) {
1390 _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)