2011-01-12 03:03:46 +01: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-23 21:04:37 +02:00
|
|
|
// Declarations for functions which are actually written in C.
|
|
|
|
|
2011-01-12 03:03:46 +01:00
|
|
|
package syscall
|
2011-10-23 21:04:37 +02:00
|
|
|
|
2012-03-14 00:01:30 +01:00
|
|
|
func Entersyscall()
|
|
|
|
func Exitsyscall()
|
2011-12-13 00:40:51 +01:00
|
|
|
func GetErrno() Errno
|
|
|
|
func SetErrno(Errno)
|
2012-06-04 07:34:59 +02:00
|
|
|
|
|
|
|
// These functions are used by CGO and SWIG.
|
|
|
|
func Cgocall()
|
|
|
|
func CgocallDone()
|
|
|
|
func CgocallBack()
|
|
|
|
func CgocallBackDone()
|