...

Source file src/runtime/cgo/setenv.go

Documentation: runtime/cgo

		 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  //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
		 6  // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
		 7  
		 8  package cgo
		 9  
		10  import _ "unsafe" // for go:linkname
		11  
		12  //go:cgo_import_static x_cgo_setenv
		13  //go:linkname x_cgo_setenv x_cgo_setenv
		14  //go:linkname _cgo_setenv runtime._cgo_setenv
		15  var x_cgo_setenv byte
		16  var _cgo_setenv = &x_cgo_setenv
		17  
		18  //go:cgo_import_static x_cgo_unsetenv
		19  //go:linkname x_cgo_unsetenv x_cgo_unsetenv
		20  //go:linkname _cgo_unsetenv runtime._cgo_unsetenv
		21  var x_cgo_unsetenv byte
		22  var _cgo_unsetenv = &x_cgo_unsetenv
		23  

View as plain text