procps/library
Jim Warner 157612a5ed library: delete a redundant 'items' variable, pids api
Ever since this pids api was first introduced in 2015,
there existed both the 'curitems' plus 'maxitems' used
internally. While the reasoning behind such duality is
lost to time, it probably related to top's capacity to
grow/shrink stack size depending on what is displayed.

While top no longer employs a dynamically sized stack,
with the current library logic it makes no difference.
For sometime now the pids guy handles either approach.

So, this commit converts all references to 'maxitems'.

Signed-off-by: Jim Warner <james.warner@comcast.net>
2023-05-07 09:43:44 +10:00
..
include slabinfo: add comment for cache_size calculation 2023-04-25 07:19:22 +00:00
tests tests: Fix type for check_fatal_proc_unmounted 2022-12-06 22:23:08 +11:00
.gitignore build-sys: Relocate library to library/ 2022-08-29 19:02:44 +10:00
COPYING build-sys: Relocate library to library/ 2022-08-29 19:02:44 +10:00
devname.c misc: Update the copyrights of files 2023-02-07 21:09:48 +11:00
diskstats.c misc: Update the copyrights of files 2023-02-07 21:09:48 +11:00
escape.c misc: Update the copyrights of files 2023-02-07 21:09:48 +11:00
libproc2.pc.in misc: Update pc file to new library name 2022-08-29 20:42:45 +10:00
libproc2.sym library: Rename to libproc2 2022-08-29 20:38:17 +10:00
meminfo.c misc: tweak the recent copyright changes just a little 2023-02-14 07:11:51 +11:00
namespace.c misc: Update the copyrights of files 2023-02-07 21:09:48 +11:00
numa.c misc: Update the copyrights of files 2023-02-07 21:09:48 +11:00
pids.c library: delete a redundant 'items' variable, pids api 2023-05-07 09:43:44 +10:00
pwcache.c misc: Update the copyrights of files 2023-02-07 21:09:48 +11:00
readproc.c misc: Update the copyrights of files 2023-02-07 21:09:48 +11:00
slabinfo.c slabinfo: add comment for cache_size calculation 2023-04-25 07:19:22 +00:00
stat.c library: become more tolerant of /proc/cpuinfo formats 2023-03-02 19:38:41 +11:00
sysinfo.c misc: Update the copyrights of files 2023-02-07 21:09:48 +11:00
uptime.c library: use sd_get_sessions() instead of utmp 2023-03-21 22:26:03 +11:00
version.c misc: Update the copyrights of files 2023-02-07 21:09:48 +11:00
vmstat.c misc: tweak the recent copyright changes just a little 2023-02-14 07:11:51 +11:00
wchan.c misc: Update the copyrights of files 2023-02-07 21:09:48 +11:00