github.com/ccccaoqing/test@v0.0.0-20220510085219-3985d23445c0/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;