Black Lives Matter. Support the Equal Justice Initiative.

Source file src/syscall/export_darwin_test.go

Documentation: syscall

     1  // Copyright 2020 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  package syscall
     6  
     7  func Ioctl(fd, req, arg uintptr) Errno {
     8  	err := ioctl(int(fd), int(req), int(arg))
     9  	if err != nil {
    10  		return err.(Errno)
    11  	}
    12  	return 0
    13  }
    14  

View as plain text