Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

pantheios/util/string/strdup.h File Reference


Detailed Description

[C, C++] String duplication functions.

#include <pantheios/pantheios.h>
#include <stlsoft/stlsoft.h>

Go to the source code of this file.

Namespaces

namespace  pantheios
namespace  pantheios::util

Functions

pan_char_t * pantheios_util_strdup_nothrow (pan_char_t const *s)
 Non-exception-throwing C-style string duplication function.
void pantheios_util_strfree (pan_char_t *s)
 Frees a duplicated string allocated by pantheios_util_strdup_nothrow() or pantheios_util_strdup_throw().
pan_char_t * strdup_nothrow (pan_char_t const *s) throw ()
 Equivalent to pantheios_util_strdup_nothrow().
void strfree (pan_char_t *s) throw ()
 Equivalent to pantheios_util_strfree().

pantheios Library documentation © Matthew Wilson & Synesis Software, 2006-2011 SourceForge.net Logo