|author||Matt Layher <firstname.lastname@example.org>||Tue Feb 08 09:24:17 2022 -0500|
|committer||Matt Layher <email@example.com>||Wed Feb 09 21:45:40 2022 +0000|
unix: implement getitimer(2) and setitimer(2) on Linux Wrap the low-level system calls with a more idiomatic Go API and a set of constants to indicate which timer should be queried or modified. man 2 getitimer indicates that these system calls are obsolete as of POSIX.1-2008, but the code I am working on has not been ported to the modern timer_gettime(2) and timer_settime(2) APIs as of yet. Change-Id: I91482e141047846cadf47aa2417b8770955986bf Reviewed-on: https://go-review.googlesource.com/c/sys/+/384054 Run-TryBot: Matt Layher <firstname.lastname@example.org> TryBot-Result: Gopher Robot <email@example.com> Reviewed-by: Dominik Honnef <firstname.lastname@example.org> Reviewed-by: Ian Lance Taylor <email@example.com> Trust: Matt Layher <firstname.lastname@example.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
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.