Update vendor/golang.org/x/sys (#5059)
This commit is contained in:
parent
2af57c7820
commit
99c09dfbfa
258 changed files with 107543 additions and 29180 deletions
8
vendor/golang.org/x/sys/unix/env_unix.go
generated
vendored
8
vendor/golang.org/x/sys/unix/env_unix.go
generated
vendored
|
@ -1,8 +1,8 @@
|
|||
// Copyright 2010 The Go Authors. All rights reserved.
|
||||
// Copyright 2010 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
|
||||
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
|
||||
|
||||
// Unix environment variables.
|
||||
|
||||
|
@ -25,3 +25,7 @@ func Clearenv() {
|
|||
func Environ() []string {
|
||||
return syscall.Environ()
|
||||
}
|
||||
|
||||
func Unsetenv(key string) error {
|
||||
return syscall.Unsetenv(key)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue