commit | 2d0786266e9cd132da844109aa05016f11f3df28 | [log] [tgz] |
---|---|---|
author | Matt Layher <mdlayher@gmail.com> | Wed May 08 17:10:54 2019 -0400 |
committer | Matt Layher <mdlayher@gmail.com> | Wed May 08 22:02:29 2019 +0000 |
tree | 2d6c80401e513a64bfbac3668685e50fc9aaf7b1 | |
parent | 12bbe5a7a5209180b72cc7e3ed9da40442fe3246 [diff] |
unix: add IoctlGetUint32 on Linux Because the size of int varies on different architectures, IoctlGetInt is unsuitable for ioctl APIs which explicitly deal with fixed size integers, such as uint32. Change-Id: I5a8dc397b713027c4ef9f9a91490f177ac8342e2 Reviewed-on: https://go-review.googlesource.com/c/sys/+/175982 Run-TryBot: Matt Layher <mdlayher@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run go get -u golang.org/x/sys
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.