diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-07 04:17:51 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-07 04:17:51 +0000 |
commit | 027290ebc37d5dd85440815f3d5840cd83b51b7a (patch) | |
tree | 741c367da9a77dcda962807f1e8335bb6faf3581 /ace/ACE.h | |
parent | fde65b269be13ab2bbe9cdfc11f22844306198ee (diff) | |
download | ATCD-027290ebc37d5dd85440815f3d5840cd83b51b7a.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/ACE.h')
-rw-r--r-- | ace/ACE.h | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/ace/ACE.h b/ace/ACE.h index 2cd3cca4158..2dc03b17bd0 100644 --- a/ace/ACE.h +++ b/ace/ACE.h @@ -444,9 +444,29 @@ public: // <ACE_OS::free> #endif /* ACE_HAS_WINCE */ - static char *strecpy (char *s, const char *t); - // Copies <t> to <s>, returning a pointer to the end of the copied - // region (rather than the beginning, a la <strcpy>. + static char *strecpy (char *des, const char *src); + // Copies <src> to <des>, returning a pointer to the end of the + // copied region, rather than the beginning, as <strcpy> does. + + static const char *strend (const char *); + // Returns a pointer to the "end" of the string, i.e., the character + // past the '\0'. + + static char *strnew (const char *s); + // This method is just like <strdup>, except that it uses <operator + // new> rather than <malloc>. + + static wchar_t *strnew (const wchar_t *s); + // This method is just like <strdup>, except that it uses <operator + // new> rather than <malloc>. + + static char *strndup (const char *str, size_t n); + // Create a fresh new copy of <str>, up to <n> chars long. Uses + // <ACE_OS::malloc> to allocate the new string. + + static char *strnnew (const char *str, size_t n); + // Create a fresh new copy of <str>, up to <n> chars long. Uses + // <ACE_OS::malloc> to allocate the new string. static char *strsplit_r (char *s, const char *token, |