table of contents
other versions
- stretch 4.9.168-1
MEMPARSE(9) | Basic Kernel Library Functions | MEMPARSE(9) |
NAME¶
memparse - parse a string with mem suffixes into a numberSYNOPSIS¶
unsigned long long memparse(const char * ptr, char ** retptr);
ARGUMENTS¶
ptrWhere parse begins
retptr
(output) Optional pointer to next char after parse
completes
DESCRIPTION¶
Parses a string into a number. The number stored at ptr is potentially suffixed with K, M, G, T, P, E.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |