github.com/ader1990/go@v0.0.0-20140630135419-8c24447fa791/src/pkg/runtime/cgo/freebsd.c (about)

     1  // Copyright 2010 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  // Supply environ and __progname, because we don't
     6  // link against the standard FreeBSD crt0.o and the
     7  // libc dynamic library needs them.
     8  
     9  char *environ[1];
    10  char *__progname;
    11  
    12  #pragma dynexport environ environ
    13  #pragma dynexport __progname __progname