version 1.1.1.3, 2013/07/22 01:32:11
|
version 1.1.1.4, 2013/10/14 08:02:43
|
Line 22
|
Line 22
|
|
|
The pbuf parameter of all spprintf version receives a pointer to the allocated |
The pbuf parameter of all spprintf version receives a pointer to the allocated |
buffer. This buffer must be freed manually after usage using efree() function. |
buffer. This buffer must be freed manually after usage using efree() function. |
The buffer will allways be terminated by a zero character. When pbuf is NULL | The buffer will always be terminated by a zero character. When pbuf is NULL |
the function can be used to calculate the required size of the buffer but for |
the function can be used to calculate the required size of the buffer but for |
that purpose snprintf is faster. When both pbuf and the return value are 0 |
that purpose snprintf is faster. When both pbuf and the return value are 0 |
than you are out of memory. |
than you are out of memory. |