ec_memory_pretty_mem_amount
Last updated March 2020
Name
ec_memory_pretty_mem_amount — A utility to render an amount with commas
Synopsis
#include "ec_malloc.h"
| char * **ec_memory_pretty_mem_amount** (
| buf, | |
| | amount)
; | |
Description
A utility to render the amount of memory with appropriately placed commas.
- buf
-
A character array use dto hold the result.
- amount
-
The amount to render.
This function returns buf
, NUL terminated and containing a readable amount.
You can call this function in any thread.
See Also
Was this page helpful?