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.55 by tdb, Tue Apr 6 13:40:41 2004 UTC vs.
Revision 1.56 by tdb, Tue Apr 6 14:44:29 2004 UTC

# Line 322 | Line 322 | sg_process_stats *sg_get_process_stats(int *entries){
322                          return NULL;
323                  }
324   #else
325 +                /* FIXME - this value can be too large on some of
326 +                   the BSD's, which causes sysctl not to return
327 +                   anything. Maybe we need something smaller? */
328                  mib[1] = KERN_ARGMAX;
329  
330                  if(sysctl(mib, 2, &buflen, &size, NULL, 0) < 0) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines