aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/syscall/export_aix_test.go
blob: 7ea5864a66d06926415041b4ed9de014ea46e478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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 aix
// +build aix

package syscall

import (
	"unsafe"
)

func Ioctl(fd, req uintptr, arg unsafe.Pointer) (err Errno) {
	_, err = raw_ioctl_ptr(int(fd), req, arg)
	return err
}