Sha256: 1ad704ebffa3244837b399a27dbeb2a21e55bf5dbcd4f5cd01155f04a7bd4108

Contents?: true

Size: 717 Bytes

Versions: 16

Compression:

Stored size: 717 Bytes

Contents

// 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.

//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos

// Unix environment variables.

package unix

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)
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ruby_snowflake_client-1.3.7 ext/vendor/golang.org/x/sys/unix/env_unix.go
ruby_snowflake_client-1.3.6 ext/vendor/golang.org/x/sys/unix/env_unix.go
ruby_snowflake_client-1.3.5 ext/vendor/golang.org/x/sys/unix/env_unix.go
ruby_snowflake_client-1.3.4 ext/vendor/golang.org/x/sys/unix/env_unix.go
ruby_snowflake_client-1.3.4.pre.debug ext/vendor/golang.org/x/sys/unix/env_unix.go
ruby_snowflake_client-1.3.3.pre.debug ext/vendor/golang.org/x/sys/unix/env_unix.go
ruby_snowflake_client-1.3.2 ext/vendor/golang.org/x/sys/unix/env_unix.go
ruby_snowflake_client-1.3.1 ext/vendor/golang.org/x/sys/unix/env_unix.go
ruby_snowflake_client-1.3.0 ext/vendor/golang.org/x/sys/unix/env_unix.go
ruby_snowflake_client-1.2.1 ext/vendor/golang.org/x/sys/unix/env_unix.go
ruby_snowflake_client-1.2.0 ext/vendor/golang.org/x/sys/unix/env_unix.go
ruby_snowflake_client-1.1.1 ext/vendor/golang.org/x/sys/unix/env_unix.go
ruby_snowflake_client-1.1.0 ext/vendor/golang.org/x/sys/unix/env_unix.go
ruby_snowflake_client-1.0.2 ext/vendor/golang.org/x/sys/unix/env_unix.go
ruby_snowflake_client-1.0.1 ext/vendor/golang.org/x/sys/unix/env_unix.go
ruby_snowflake_client-1.0.0 ext/vendor/golang.org/x/sys/unix/env_unix.go