small note annd cosmetics for safeclib

This commit is contained in:
Christian Thaeter 2008-09-06 11:44:08 +02:00
parent d8c0c33eb0
commit 79fee29519
2 changed files with 2 additions and 0 deletions

View file

@ -103,6 +103,7 @@ static void
lumiera_tmpbuf_init (void)
{
pthread_key_create (&lumiera_tmpbuf_tls_key, lumiera_tmpbuf_destroy);
TODO ("register an atexit() handler to free tmpbufs");
}

View file

@ -135,6 +135,7 @@ lumiera_tmpbuf_strndup (const char* src, size_t size);
char*
lumiera_tmpbuf_snprintf (size_t size, const char* fmt, ...);
/**
* Concat up to 3 strings in a tmpbuf.
* @param str1 first string to concat or NULL