commit | 92c4c39f76b9a9df34c8a64fb56390964eeef31c | [log] [tgz] |
---|---|---|
author | Dmitri Goutnik <dgoutnik@gmail.com> | Thu Feb 23 08:20:32 2023 -0500 |
committer | Dmitri Goutnik <dgoutnik@gmail.com> | Fri Feb 24 13:20:54 2023 +0000 |
tree | 9a6f1436c527eb064ccb36ad10276c694d6d8619 | |
parent | 748af6eb5dfa1396074b92561317f5dede19bcd9 [diff] |
unix: add Dup3 on FreeBSD Other BSDs provide dup3(2) syscall, on FreeBSD it is implemented as libc function using fcntl(2). This CL adds similar Go implementation. Fixes golang/go#55935 Change-Id: I9c6d762415c7bed5442966a7fcbf9a6f8dfdaf2a Reviewed-on: https://go-review.googlesource.com/c/sys/+/470675 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: 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.