]> granicus.if.org Git - procps-ng/commit
library: add PROCPS_PIDS_TTY_NAME to compliment number
authorJim Warner <james.warner@comcast.net>
Mon, 7 Sep 2015 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Wed, 9 Sep 2015 11:22:43 +0000 (21:22 +1000)
commit17d77f8016fdba663bec885b93f275431576bbc9
treec25949551b42f528d9a443cdd207cd93b731983b
parent617a4d0f7007499a6d9d06aa4dafd34f55890fc1
library: add PROCPS_PIDS_TTY_NAME to compliment number

OK, ok, this was kind of a huge omission. So please do
not select the TTY field for display in top quite yet,
at least until a next patch has been pushed to GitLab.

And to produce a correct sort order for this new field
the GNU 'strverscmp' routine was a necessary addition.

Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/pids.c
proc/pids.h