diff options
author | Russ Cox <rsc@golang.org> | 2009-06-01 22:14:39 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-06-01 22:14:39 -0700 |
commit | 9849d463b66c597d5e2429274e677030c4465484 (patch) | |
tree | 874da14a9428e632f5d373e713631be06c233e65 /src/lib/os/proc_darwin.go | |
parent | 8f6dc671ffef2fc05c938ba6dee40a0354e83bbd (diff) | |
download | golang-9849d463b66c597d5e2429274e677030c4465484.tar.gz |
update Go tree to use new syscall package.
R=r
DELTA=713 (109 added, 386 deleted, 218 changed)
OCL=29707
CL=29722
Diffstat (limited to 'src/lib/os/proc_darwin.go')
-rw-r--r-- | src/lib/os/proc_darwin.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/lib/os/proc_darwin.go b/src/lib/os/proc_darwin.go deleted file mode 100644 index bae977b1f..000000000 --- a/src/lib/os/proc_darwin.go +++ /dev/null @@ -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, int64(code), 0, 0) -} - |