memparse9
Parse a string with mem suffixes into a number
Usage
unsigned long long memparse(const char * ptr, char ** retptr);
Arguments
ptr
Where parse begins
retptr
(output) Optional pointer to next char after parse completes
Overview
Parses a string into a number. The number stored at ptr is potentially suffixed with K, M, G, T, P, E.
Releases
6 releases since Debian 4.0 (Etch); the text changed 5 times.