Home | History | Annotate | Download | only in syscall

Lines Matching full:oldfd

303 func Dup(oldfd int) (fd int, err error) {
304 r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0)
314 func Dup3(oldfd int, newfd int, flags int) (err error) {
315 _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags))
1198 func Dup2(oldfd int, newfd int) (err error) {
1199 _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0)