2011-01-12 10:03:46 +08:00
|
|
|
// Copyright 2011 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2011-10-24 03:04:37 +08:00
|
|
|
// Declarations for functions which are actually written in C.
|
|
|
|
|
2011-01-12 10:03:46 +08:00
|
|
|
package syscall
|
2011-10-24 03:04:37 +08:00
|
|
|
|
2012-03-14 07:01:30 +08:00
|
|
|
func Entersyscall()
|
|
|
|
func Exitsyscall()
|
2011-12-13 07:40:51 +08:00
|
|
|
func GetErrno() Errno
|
|
|
|
func SetErrno(Errno)
|
2012-06-04 13:34:59 +08:00
|
|
|
|
|
|
|
// These functions are used by CGO and SWIG.
|
|
|
|
func Cgocall()
|
|
|
|
func CgocallDone()
|
|
|
|
func CgocallBack()
|
|
|
|
func CgocallBackDone()
|