commit | 3aab700007d75c6b1abee24ba9b040898310d0f7 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Fri May 08 11:22:56 2020 +0200 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Fri May 08 21:44:44 2020 +0000 |
tree | cfadac98814dd5b5a294f311ca5079142d3e374c | |
parent | bc7a7d42d5c30f4d0fe808715c002826ce2c624e [diff] |
unix: call gettimeofday libc function directly This also works when invoking the raw syscall on Go ≤ 1.11 Fixes golang/go#38925 Change-Id: I137532da92b457a6853ed1be87c0aa72d2b2c886 Reviewed-on: https://go-review.googlesource.com/c/sys/+/232803 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matt Layher <mdlayher@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
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.