Page Menu
Home
Musing Studio
Search
Configure Global Search
Log In
Files
F10433364
env_windows.go
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
553 B
Subscribers
None
env_windows.go
View Options
// 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.
// Windows environment variables.
package
windows
import
"syscall"
func
Getenv
(
key
string
)
(
value
string
,
found
bool
)
{
return
syscall
.
Getenv
(
key
)
}
func
Setenv
(
key
,
value
string
)
error
{
return
syscall
.
Setenv
(
key
,
value
)
}
func
Clearenv
()
{
syscall
.
Clearenv
()
}
func
Environ
()
[]
string
{
return
syscall
.
Environ
()
}
func
Unsetenv
(
key
string
)
error
{
return
syscall
.
Unsetenv
(
key
)
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 20, 3:11 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3137567
Attached To
rWCLI writeas-cli
Event Timeline
Log In to Comment