39 |
|
#define MAX_FILE_LENGTH PATH_MAX |
40 |
|
#endif |
41 |
|
#ifdef LINUX |
42 |
– |
#ifdef CYGWIN |
43 |
– |
#include <limits.h> |
44 |
– |
#else |
42 |
|
#include <linux/limits.h> |
46 |
– |
#endif |
43 |
|
#define PROC_LOCATION "/proc" |
44 |
|
#define MAX_FILE_LENGTH PATH_MAX |
45 |
|
#endif |
160 |
|
if (kp_stats[procs].kp_proc.p_stat == SSTOP) process_stat.stopped++; |
161 |
|
#endif |
162 |
|
} |
163 |
+ |
#endif |
164 |
+ |
|
165 |
+ |
#ifdef CYGWIN |
166 |
+ |
return NULL; |
167 |
|
#endif |
168 |
|
|
169 |
|
process_stat.total=process_stat.sleeping+process_stat.running+process_stat.zombie+process_stat.stopped; |