Go packages for low-level interaction with the operating system

Clone this repo:
  1. 006507a cpu: add support for detecting AVX-512 by Anton Kuklin · 25 hours ago master
  2. 9d91bd6 unix: implement Getwd using getcwd from libSystem on darwin by Tobias Klauser · 3 days ago
  3. d9f96fd all: add GOOS=ios by Cherry Zhang · 12 days ago
  4. aee5d88 unix: add IoctlFile{Clone,CloneRange,DedupeRange} on linux by Tobias Klauser · 8 days ago
  5. e10f822 unix: import accept4 from libsocket.so on illumos by Tobias Klauser · 7 days 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.