summaryrefslogtreecommitdiff
path: root/src/pkg/os/doc.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/os/doc.go')
-rw-r--r--src/pkg/os/doc.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pkg/os/doc.go b/src/pkg/os/doc.go
index 6a531e0d7..2cc17530c 100644
--- a/src/pkg/os/doc.go
+++ b/src/pkg/os/doc.go
@@ -79,6 +79,8 @@ func (p *ProcessState) Sys() interface{} {
// SysUsage returns system-dependent resource usage information about
// the exited process. Convert it to the appropriate underlying
// type, such as *syscall.Rusage on Unix, to access its contents.
+// (On Unix, *syscall.Rusage matches struct rusage as defined in the
+// getrusage(2) manual page.)
func (p *ProcessState) SysUsage() interface{} {
return p.sysUsage()
}
@@ -89,7 +91,7 @@ func Hostname() (name string, err error) {
}
// Readdir reads the contents of the directory associated with file and
-// returns an array of up to n FileInfo values, as would be returned
+// returns a slice of up to n FileInfo values, as would be returned
// by Lstat, in directory order. Subsequent calls on the same file will yield
// further FileInfos.
//