mirror of
https://github.com/opencontainers/runc.git
synced 2025-10-09 09:20:10 +08:00

It turns out that the standard "syscall" library is not recommended for new programs. runC will need to eventually move to this, but for now include it in vendor so we can use it for new features. Signed-off-by: Aleksa Sarai <asarai@suse.de>
15 lines
306 B
Go
15 lines
306 B
Go
// Copyright 2014 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 go1.4
|
|
|
|
package unix
|
|
|
|
import "syscall"
|
|
|
|
func Unsetenv(key string) error {
|
|
// This was added in Go 1.4.
|
|
return syscall.Unsetenv(key)
|
|
}
|