2008-07-26 15:49:21 -06:00
|
|
|
// Copyright 2009 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.
|
|
|
|
|
|
|
|
package syscall
|
|
|
|
|
2008-07-26 17:22:14 -06:00
|
|
|
/*
|
2008-07-29 16:17:27 -06:00
|
|
|
* Foundation of system call interface.
|
2008-07-26 17:22:14 -06:00
|
|
|
*/
|
2008-07-26 15:49:21 -06:00
|
|
|
|
2008-07-29 15:44:48 -06:00
|
|
|
func Syscall(trap int64, a1, a2, a3 int64) (r1, r2, err int64);
|
|
|
|
func AddrToInt(b *byte) int64;
|
|
|
|
|
|
|
|
export Syscall
|
|
|
|
export AddrToInt
|
|
|
|
|
2008-07-26 15:49:21 -06:00
|
|
|
|