procps/proc
Craig Small ccb6ae8de1 library: cleanup of library includes
The includes used to define a lot of things a library include
should not. It was also a bit messy what was exposed in the library
and what was not.

get_pid_digits -> procps_pid_length and exported correctly

MALLOC attribute move into relevant .c files
NORETURN attribute moved to relevant .c, not used in library
PURE attribute removed, it wasn't used
KLONG/KLF/STRTOUKL were fixed for long, so now just use long

HIDDEN attribute removed. It was for 3 functions. The PROCPS_EXPORT
seems to do the same (opposite) thing.

likely/unlikely removed from most places, its highly debateable
this does anything useful as CPUs have gotten smarter about branches.

Re-arranged the includes, ALL external programs should just #include
<proc/procps.h> then proc/procps.h includes headers for files that
have exported functions. procps.h and the headers it includes should
not use items that are not exportable (e.g. hidden functions or
macros) they go in procps-private.h
2016-04-16 17:03:57 +10:00
..
.gitignore libprocps version test and documentation 2016-04-14 22:28:38 +10:00
alloc.c library: cleanup of library includes 2016-04-16 17:03:57 +10:00
alloc.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
COPYING miscellaneous: clean up trailing whitespace once again 2013-04-07 18:05:01 +10:00
devname.c library: Remove tty_to_dev() 2015-09-01 20:41:25 +10:00
devname.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
diskstat.c miscellaneous: silence a whole bunch of clang warnings 2015-09-21 22:34:27 +10:00
diskstat.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
escape.c miscellaneous: clean up trailing whitespace once again 2013-04-07 18:05:01 +10:00
escape.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
libprocps.pc.in Renaming libprocfs to libprocps 2011-12-23 09:18:43 +11:00
libprocps.sym library: cleanup of library includes 2016-04-16 17:03:57 +10:00
meminfo.c free: use SReclaimable in cached 2015-10-24 14:29:25 +11:00
meminfo.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
namespace.c miscellaneous: silence a whole bunch of clang warnings 2015-09-21 22:34:27 +10:00
namespace.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
openproc.3 documentation: fix man pages due to refactor for wchan 2015-06-19 19:09:21 +10:00
pids.c library: exploit linux-4.5 resident memory enhancement 2016-04-14 21:03:03 +10:00
pids.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
procps-private.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
procps.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
pwcache.c library: export pwcache functions correctly 2015-06-26 22:37:53 +10:00
pwcache.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
readproc.3 misc: result after checking all files for misspellings 2014-08-08 22:14:21 +02:00
readproc.c library: cleanup of library includes 2016-04-16 17:03:57 +10:00
readproc.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
readproctab.3 misc: result after checking all files for misspellings 2014-08-08 22:14:21 +02:00
readstat.c Replace %Lu with standard %llu 2016-04-14 21:21:27 +10:00
readstat.h library: minor tweaks of program logic and/or comments 2015-07-28 21:51:00 +10:00
slab.c library: minor tweaks of program logic and/or comments 2015-07-28 21:51:00 +10:00
slab.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
sysinfo.c library: cleanup of library includes 2016-04-16 17:03:57 +10:00
sysinfo.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
test_namespace.c miscellaneous: cleanup accumulated trailing whitespace 2015-09-21 22:33:50 +10:00
test_sysinfo.c library: tests for sysinfo 2015-07-20 22:23:21 +10:00
test_version.c libprocps version test and documentation 2016-04-14 22:28:38 +10:00
uptime.c miscellaneous: silence a whole bunch of clang warnings 2015-09-21 22:34:27 +10:00
uptime.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
version.c miscellaneous: remove some trailing whitespace buildup 2015-06-20 07:46:23 +10:00
version.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
vmstat.c library: vmstat redesign now using 'stack' vs. 'chain' 2015-07-23 22:31:44 +10:00
vmstat.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00
wchan.c library: refactor and rely on modern kernels for wchan 2015-06-19 19:09:20 +10:00
wchan.h library: cleanup of library includes 2016-04-16 17:03:57 +10:00