comparison libgo/go/internal/syscall/execenv/execenv_default.go @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
18:1830386684a0 19:2b5abeee2509
1 // Copyright 2020 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 // +build !windows
6
7 package execenv
8
9 import "syscall"
10
11 // Default will return the default environment
12 // variables based on the process attributes
13 // provided.
14 //
15 // Defaults to syscall.Environ() on all platforms
16 // other than Windows.
17 func Default(sys *syscall.SysProcAttr) ([]string, error) {
18 return syscall.Environ(), nil
19 }