Nuke sg_process_sort, and make the process stats example demonstrate how to sort using the compare functions and qsort.
More whitespace tidyup (spaces->tabs).
Update name of project at the top of all soure files. These files now exist in their own right, rather than as part of the "CMS".
Update examples to use new names. I guess some renaming could probably be done here, but at least they all compile again now.
Returning NULL in a function that returns int's is wrong :) Now returns -1 on failure. Also change code that calls us to check for < 0 for failures.
get_proc_snapshot returns an int, not a pointer.
Fix a bunch of warnings on the BSD's.
Add support for FreeBSD 4. I suspect this may work on OpenBSD and NetBSD too, although I'll need to verify that. Also add an additional process state of UNKNOWN.
Add test for failure to get stats.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.