| Summary: | sysctl(3) description of KERN_PROC is not correct anymore | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | GNATS administrator <gnats-admin> |
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed Duplicate of docs/100242. |
Manual page says: --- KERN_PROC Return selected information about specific running processes. For the following names, an array of pairs of struct proc fol- lowed by corresponding struct eproc structures is returned, whose size depends on the current number of such objects in the system. --- I believe that this is no longer the case. First off, as far as I understand it, 'struct eproc' is gone. Second problem is that this sysctl doesn't return any pairs, What it actually returns is an array of 'struct kinfo_proc'.