blob: 184eb84c0b140ef5fb26163b6054ec51c74c0033 [file] [log] [blame]
// Copyright 2015 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 || hurd || linux || netbsd || openbsd
package syscall
import "unsafe"
func Ioctl(fd, req uintptr, arg unsafe.Pointer) (err Errno) {
_, err = raw_ioctl_ptr(int(fd), req, arg)
return err
}