NewProc returns a process for the given pid. Deprecated: Use fs.Proc() instead.
(pid int)
| 90 | // |
| 91 | // Deprecated: Use fs.Proc() instead. |
| 92 | func (fs FS) NewProc(pid int) (Proc, error) { |
| 93 | return fs.Proc(pid) |
| 94 | } |
| 95 | |
| 96 | // Proc returns a process for the given pid. |
| 97 | func (fs FS) Proc(pid int) (Proc, error) { |