diff options
| author | Russ Cox <rsc@golang.org> | 2009-06-01 22:15:08 -0700 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-06-01 22:15:08 -0700 |
| commit | e11f833bed1f445a4fd8ccb813fa000386d277e1 (patch) | |
| tree | 397201cc75841231a6f0b730bbbe05db862eec30 /src/lib/syscall/proc_linux.go | |
| parent | 602a446b74083ac027f1d0740d1e724534222a10 (diff) | |
| download | go-e11f833bed1f445a4fd8ccb813fa000386d277e1.tar.xz | |
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_linux.go')
| -rw-r--r-- | src/lib/syscall/proc_linux.go | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lib/syscall/proc_linux.go b/src/lib/syscall/proc_linux.go deleted file mode 100644 index e4e3760813..0000000000 --- a/src/lib/syscall/proc_linux.go +++ /dev/null @@ -1,19 +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 Linux -// TODO: -// - 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 -} |
