export_aix_test.go 348 B

1234567891011121314151617
  1. // Copyright 2019 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. //go:build aix
  5. // +build aix
  6. package syscall
  7. import (
  8. "unsafe"
  9. )
  10. func Ioctl(fd, req uintptr, arg unsafe.Pointer) (err Errno) {
  11. _, err = raw_ioctl_ptr(int(fd), req, arg)
  12. return err
  13. }