github.com/hongwozai/go-src-1.4.3@v0.0.0-20191127132709-dc3fce3dbccb/src/runtime/cgo/setenv.c (about)

     1  // Copyright 2011 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 darwin dragonfly freebsd linux netbsd openbsd
     6  
     7  #pragma cgo_import_static x_cgo_setenv
     8  #pragma cgo_import_static x_cgo_unsetenv
     9  
    10  void x_cgo_setenv(char**);
    11  void (*runtimeĀ·_cgo_setenv)(char**) = x_cgo_setenv;
    12  void x_cgo_unsetenv(char**);
    13  void (*runtimeĀ·_cgo_unsetenv)(char**) = x_cgo_unsetenv;