commit | c4d1ff19d38ff0541bba303a1dbfc151679ff56f | [log] [tgz] |
---|---|---|
author | David Wimmer <davidlwimmer@gmail.com> | Thu Jul 26 14:19:25 2018 -0500 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Fri Jul 27 19:22:02 2018 +0000 |
tree | d5cbc40aeb4f7a9c04618dfa091f54dcc6ad64c4 | |
parent | e072cadbbdc8dd3d3ffa82b8b4b9304c261d9311 [diff] |
unix: implement pipe() on linux/mips Change the Pipe() function to use the pipe() syscall (which has a unique calling convention on linux/mips) instead of using pipe2(). This allows it to work on kernels <2.6.27 when pipe2() was introduced. Change-Id: I088886e66b594232869d8b88c6e1a630c76188a3 Reviewed-on: https://go-review.googlesource.com/126176 Reviewed-by: Vladimir Stefanovic <vladimir.stefanovic@mips.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@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.