Go packages for low-level interaction with the operating system

Clone this repo:
  1. 11f53e0 unix: use int8 for RawSockaddrUnix.Path on linux/riscv64 by Tobias Klauser · 2 days ago master
  2. e5ecc2a unix: use Renameat2 to implement Renameat on linux/riscv64 by Tobias Klauser · 2 days ago
  3. 5552a98 unix: add Renameat on dragonfly by Tobias Klauser · 2 days ago
  4. a457fd0 unix: add Signalfd on linux by Tobias Klauser · 3 days ago
  5. 2be5172 unix: add ClockNanosleep and TIMER_ABSTIME by Sebastian Schmidt · 5 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.