commit | ac3223d8017937d8cd94de35a801ea2459f6d5a0 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Tue Nov 05 09:23:58 2019 +0100 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Tue Nov 05 14:28:33 2019 +0000 |
tree | 8d18360203911a58638c3b3561fd4d3427ae092d | |
parent | e8c54fb511f6a2d695a4403ae0dab1c05aef011a [diff] |
unix: add methods to manipulate *FdSet Add Set, Clear, IsSet and Zero methods to manipulate an *FdSet. These implement the same functionality as the FD_SET, FD_CLR, FD_ISSET and FD_ZERO macros in <sys/select.h>. Change-Id: I6b7bccb98e58ee5e719096ed5743f6edcd232840 Reviewed-on: https://go-review.googlesource.com/c/sys/+/205397 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> 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.