github.com/llvm-mirror/llgo@v0.0.0-20190322182713-bf6f0a60fce1/third_party/gofrontend/libgo/go/syscall/libcall_support.go (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  // Declarations for functions which are actually written in C.
     6  
     7  package syscall
     8  
     9  func Entersyscall()
    10  func Exitsyscall()
    11  func GetErrno() Errno
    12  func SetErrno(Errno)
    13  
    14  // These functions are used by CGO and SWIG.
    15  func Cgocall()
    16  func CgocallDone()
    17  func CgocallBack()
    18  func CgocallBackDone()