...

Source file src/syscall/export_unix_test.go

Documentation: syscall

		 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.
		 4  
		 5  //go:build dragonfly || freebsd || linux || netbsd || openbsd
		 6  // +build dragonfly freebsd linux netbsd openbsd
		 7  
		 8  package syscall
		 9  
		10  func Ioctl(fd, req, arg uintptr) (err Errno) {
		11  	_, _, err = Syscall(SYS_IOCTL, fd, req, arg)
		12  	return err
		13  }
		14  

View as plain text