New API to retrieve disk stats in Linux
This commit is contained in:
committed by
Robert Roth
parent
d49e17039e
commit
9e62440b31
@@ -61,6 +61,9 @@ skip_line (const char *p)
|
||||
return (char *) (*p ? p+1 : p);
|
||||
}
|
||||
|
||||
int
|
||||
check_alphanumeric_word (const char *p);
|
||||
|
||||
/*
|
||||
* Smart strtoul which handles binary suffixes
|
||||
* e.g: get_scaled("Size: 32 kB", "Size:") == 32768
|
||||
|
Reference in New Issue
Block a user