summaryrefslogtreecommitdiffstats
path: root/libopkg/sprintf_alloc.h
Commit message (Collapse)AuthorAgeFilesLines
* libopkg: ensure symbol name mangling for C++Carsten Schoenert2013-12-171-0/+8
| | | | | | | | | Users who use C++ code for theirs application have always to include external C functions with a 'extern "C" { }' assignment. We can take that need from the user by putting thees assignments into the public header files. Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* Rewrite sprintf_alloc.graham.gower@gmail.com2010-11-181-1/+1
| | | | | | | | | | | The example in printf(3) that this was taken from should not be used as it ignores negative return codes from vsnprintf, instead allocating more memory. Given an error from vsnprintf, this would loop until the process' virtual memory is exhausted. So we just exit in the event of a problem instead. git-svn-id: http://opkg.googlecode.com/svn/trunk@581 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: re-arrange source code into sub-directoriesticktock352008-12-141-0/+23
git-svn-id: http://opkg.googlecode.com/svn/trunk@33 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358