Go packages for low-level interaction with the operating system

Clone this repo:
  1. fae7ac5 unix: add constants and types to work with Linux loop devices by Tobias Klauser · 12 days ago master
  2. 6ec70d6 unix: update Dockerfile to Linux 5.2 and Go 1.13beta1 by Tobias Klauser · 13 days ago
  3. 04f50cd unix: add missing dirent* helper functions on aix by Tobias Klauser · 4 weeks ago
  4. e07cf5d unix: don't use syscall.ParseDirent by Tobias Klauser · 4 weeks ago
  5. c5567b4 unix: add Getdents on dragonfly by Tobias Klauser · 4 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.