[mirror] Go packages for low-level interaction with the operating system
Перейти к файлу
Matt Layher b4ddaad3f8 unix: redefine TIPC_WAIT_FOREVER as a uint32 value
The code generator produces -0x1 for (~0) from the tipc.h C header, but this
value is unusable in Go as a uint32. Undefine and replace this value with
the appropriate constant for TIPC_WAIT_FOREVER.

Fixes golang/go#34310

Change-Id: Ic6ab0ddd14394e15868085e2123a9a97a841bc6d
Reviewed-on: https://go-review.googlesource.com/c/sys/+/195757
Run-TryBot: Matt Layher <mdlayher@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-09-16 20:23:48 +00:00
cpu cpu: remove encoding/binary dependency 2019-09-11 20:15:28 +00:00
plan9 plan9: modify mkall.sh to support zsyscall*.go files generation 2019-05-29 16:45:35 +00:00
unix unix: redefine TIPC_WAIT_FOREVER as a uint32 value 2019-09-16 20:23:48 +00:00
windows windows: add various functions for shutting down and logging out 2019-09-16 16:59:10 +00:00
.gitattributes sys: copying .gitattributes to all subrepositories 2014-12-23 09:43:20 +00:00
.gitignore convert .hgignore to .gitignore. 2014-12-08 10:44:52 +11:00
AUTHORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
CONTRIBUTING.md CONTRIBUTING.md: remove note about not accepting Pull Requests 2018-03-14 18:01:51 +00:00
CONTRIBUTORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
LICENSE LICENSE: add 2012-03-17 15:20:58 +11:00
PATENTS go.empty: add PATENTS file to the subrepo. 2012-04-16 11:24:04 +10:00
README.md README: add better links, Markdown 2017-09-27 05:46:21 +00:00
codereview.cfg sys: add codereview.cfg 2015-03-18 17:04:21 +00:00
go.mod all: add go directive to go.mod 2019-03-06 22:07:23 +00:00

README.md

sys

This repository holds supplemental Go packages for low-level interactions with the operating system.

Download/Install

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.