summaryrefslogtreecommitdiff
path: root/src/lib/syscall/proc_darwin.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-06-01 22:15:08 -0700
committerRuss Cox <rsc@golang.org>2009-06-01 22:15:08 -0700
commit55ae14e3b0197115c261879b722b7710ebded49e (patch)
tree397201cc75841231a6f0b730bbbe05db862eec30 /src/lib/syscall/proc_darwin.go
parent0d2eb8d007cef0e2d96d0ad39cea8b59e0a4336c (diff)
downloadgolang-55ae14e3b0197115c261879b722b7710ebded49e.tar.gz
auto-generated, renamed, and deleted files
associated with CL 29709. R=r DELTA=6444 (3476 added, 2958 deleted, 10 changed) OCL=29710 CL=29724
Diffstat (limited to 'src/lib/syscall/proc_darwin.go')
-rw-r--r--src/lib/syscall/proc_darwin.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/lib/syscall/proc_darwin.go b/src/lib/syscall/proc_darwin.go
deleted file mode 100644
index de8d60452..000000000
--- a/src/lib/syscall/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 syscall
-
-// Process operations for Darwin
-// TODO:
-// - getrusage
-// - getrlimit, setrlimit
-
-import (
- "syscall";
- "unsafe";
-)
-
-func Getrusage(who int64, usage *Rusage) (ret, errno int64) {
- r1, r2, err := Syscall(SYS_GETRUSAGE, who, int64(uintptr(unsafe.Pointer(usage))), 0);
- return r1, err
-}