a410e236ab
Use the standard libc declarations. For protecting the headers for C++ procps used to have its own defines, this change makes them use the standard libc ones. getstat() -> procps_stat_* vminfo() -> procps_vmstat_* These two components of the library now use the newer version of the API with less exposed global variables. The old methods are there for now. Signed-off-by: Craig Small <csmall@enc.com.au>
13 lines
163 B
C
13 lines
163 B
C
#ifndef PROCPS_PROC_WCHAN_H
|
|
#define PROCPS_PROC_WCHAN_H
|
|
|
|
#include <proc/procps.h>
|
|
|
|
__BEGIN_DECLS
|
|
|
|
extern const char * lookup_wchan (int pid);
|
|
|
|
__END_DECLS
|
|
|
|
#endif
|