diff options
Diffstat (limited to 'src/runtime/nbpipe_fcntl_unix_test.go')
-rw-r--r-- | src/runtime/nbpipe_fcntl_unix_test.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/runtime/nbpipe_fcntl_unix_test.go b/src/runtime/nbpipe_fcntl_unix_test.go deleted file mode 100644 index 97607fa2cf7..00000000000 --- a/src/runtime/nbpipe_fcntl_unix_test.go +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build dragonfly || freebsd || linux || netbsd || openbsd - -package runtime_test - -import ( - "internal/syscall/unix" - "syscall" -) - -func fcntl(fd uintptr, cmd int, arg uintptr) (uintptr, syscall.Errno) { - res, _, err := syscall.Syscall(unix.FcntlSyscall, fd, uintptr(cmd), arg) - return res, err -} |