ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/libstatgrab/process_stats.c
(Generate patch)

Comparing projects/libstatgrab/src/libstatgrab/process_stats.c (file contents):
Revision 1.14 by tdb, Mon Nov 10 21:07:04 2003 UTC vs.
Revision 1.15 by ats, Wed Nov 12 01:36:19 2003 UTC

# Line 39 | Line 39
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
# Line 164 | Line 160 | process_stat_t *get_process_stats(){
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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines