Code refactoring for bpa operator
[icn.git] / cmd / bpa-operator / vendor / golang.org / x / sys / windows / env_windows.go
1 // Copyright 2010 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // Windows environment variables.
6
7 package windows
8
9 import "syscall"
10
11 func Getenv(key string) (value string, found bool) {
12         return syscall.Getenv(key)
13 }
14
15 func Setenv(key, value string) error {
16         return syscall.Setenv(key, value)
17 }
18
19 func Clearenv() {
20         syscall.Clearenv()
21 }
22
23 func Environ() []string {
24         return syscall.Environ()
25 }
26
27 func Unsetenv(key string) error {
28         return syscall.Unsetenv(key)
29 }