Go packages for low-level interaction with the operating system

Clone this repo:
  1. 0598657 cpu: avoid illegal instruction on netbsd/arm64 by Benny Siegert · 9 days ago master
  2. fe76b77 windows: fix -d=checkptr slice failures by Yaroslav Vorobiov · 14 days ago
  3. 1151b9d cpu: add support for gccgo on aix by Clément Chigot · 3 weeks ago
  4. 417ce23 unix: add kern.ncpuonline sysctl on openbsd by Tobias Klauser · 3 weeks ago
  5. 7e40ca2 windows: implement GetsockoptInt by Zhang Boyang · 3 weeks ago


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.

Report Issues / Send Patches

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.