1
0
mirror of https://github.com/golang/go synced 2024-11-18 02:54:47 -07:00
R=r
DELTA=19  (0 added, 19 deleted, 0 changed)
OCL=30739
CL=30751
This commit is contained in:
Russ Cox 2009-06-25 14:25:11 -07:00
parent 111005d32b
commit 6af5775d74

View File

@ -1,20 +0,0 @@
// 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 os
import (
"os";
"syscall";
)
var Args []string; // provided by runtime
var Envs []string; // provided by runtime
// Exit causes the current program to exit with the given status code.
// Conventionally, code zero indicates success, non-zero an error.
func Exit(code int) {
syscall.Syscall(syscall.SYS_EXIT_GROUP, int64(code), 0, 0)
}