File: syscall_dup_solaris.go

package info (click to toggle)
golang-ginkgo 1.2.0+git20161006.acfa16a-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,324 kB
  • ctags: 1,210
  • sloc: makefile: 12
file content (9 lines) | stat: -rw-r--r-- 152 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
// +build solaris

package remote

import "golang.org/x/sys/unix"

func syscallDup(oldfd int, newfd int) (err error) {
	return unix.Dup2(oldfd, newfd)
}