]> granicus.if.org Git - procps-ng/commit
library: Change linux version
authorCraig Small <csmall@enc.com.au>
Fri, 19 Jun 2015 11:00:46 +0000 (21:00 +1000)
committerCraig Small <csmall@enc.com.au>
Fri, 19 Jun 2015 11:00:46 +0000 (21:00 +1000)
commit56d9d5e7e701e71646679b2b8cefa9239ee59592
tree473024c3b07bf0fe5808e2d0a2810492b7e63800
parent94e5ef15fc8e70b1f36992beefebb60461751fbb
library: Change linux version

Added function procps_linux_version() which used to be an
exported integer instead.  Also changed the method of obtaining
the linux version (more correctly the os release) to use a specific
procfs entry. This works for both Linux and FreeBSD.
proc/libprocps.sym
proc/procps-private.h [new file with mode: 0644]
proc/procps.h
proc/sysinfo.c
proc/version.c
proc/version.h
ps/global.c
top/top.c