| commit | eeed37f84f13f52d35e095e8023ba65671ff86a1 | [log] [tgz] |
|---|---|---|
| author | Tobias Klauser <tklauser@distanz.ch> | Fri Oct 16 12:55:47 2020 +0200 |
| committer | Tobias Klauser <tobias.klauser@gmail.com> | Sun Oct 18 23:04:17 2020 +0000 |
| tree | fb3c73ba0757a4cd719f090edf87f51cd0432047 | |
| parent | 98379d014ca70c367705a7beb759a0c2dce6172e [diff] [blame] |
unix: add IoctlCtlInfo on darwin For golang/go#41868 Change-Id: I0f4dbeacfe10b9614caf05633a1de3a98a1fc85f Reviewed-on: https://go-review.googlesource.com/c/sys/+/262959 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Matt Layher <mdlayher@gmail.com>
diff --git a/unix/ztypes_darwin_arm64.go b/unix/ztypes_darwin_arm64.go index ff43738..5eff2c1 100644 --- a/unix/ztypes_darwin_arm64.go +++ b/unix/ztypes_darwin_arm64.go
@@ -503,3 +503,8 @@ Stathz int32 Profhz int32 } + +type CtlInfo struct { + Id uint32 + Name [96]byte +}