commit | 552c4e81921bc15a070c372bf28ce91e7122c706 | [log] [tgz] |
---|---|---|
author | Andy Pan <panjf2000@gmail.com> | Wed Aug 09 21:43:21 2023 +0800 |
committer | Gopher Robot <gobot@golang.org> | Thu Aug 10 14:36:31 2023 +0000 |
tree | d1159c6f6459e051bac121fbbf9a24fa570e9855 | |
parent | ee578879d89c195b56ae72143c652798925c5696 [diff] |
unix: avoid setting O_NONBLOCK needlessly by checking flags beforehand Change-Id: I227118221df469a677f3ff140ca7b94acb7f9571 Reviewed-on: https://go-review.googlesource.com/c/sys/+/517576 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com> Run-TryBot: Andy Pan <panjf2000@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
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
.
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.