#include "OW_SafeCString.hpp"
#include <cstring>
#include <new>
Include dependency graph for OW_SafeCString.cpp:
Go to the source code of this file.
Namespaces | |
namespace | OW_NAMESPACE |
namespace | OW_NAMESPACE::SafeCString |
Functions | |
char * | strend (char *s, std::size_t n) |
char * | strend_checked (char *s, std::size_t n) |
char * | safe_strcpy (char *dst, char const *src, std::size_t n) |
OW_NAMESPACE::SafeCString::OW_DEFINE_EXCEPTION (Overflow) | |
char * | OW_NAMESPACE::SafeCString::str_dup (char const *s) |
Like std::strdup, except that new is used to allocate memory. |
|
Definition at line 33 of file OW_SafeCString.cpp. References strend(). |
|
Definition at line 8 of file OW_SafeCString.cpp. Referenced by safe_strcpy(), and strend_checked(). |
|
Definition at line 13 of file OW_SafeCString.cpp. References OW_NAMESPACE::SafeCString::DEST_UNTERMINATED, OW_THROW_ERR, and strend(). |