1 // Copyright 2015 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 //go:build dragonfly || freebsd || hurd || linux || netbsd || openbsd || solaris
11 func Ioctl(fd
, req
uintptr, arg unsafe
.Pointer
) (err Errno
) {
12 _
, err
= raw_ioctl_ptr(int(fd
), req
, arg
)