Those functions are problematic, because there is no way to report memory allocation problems without complicating the API, so we can either abort or potentially return invalid results. None of which is acceptable. In most cases the caller knows the size of the name, so he can allocate buffer on the stack and use snprintf(3) to prepare the name. After some discussion the conclusion is to removed those functions, which also simplifies the API. Discussed with: pjd, rstone Approved by: pjd (mentor) |
||
---|---|---|
.. | ||
tests | ||
common_impl.h | ||
Makefile | ||
msgio.c | ||
msgio.h | ||
nv.3 |