ACE  6.3.3
Namespaces | Macros | Functions
OS_NS_string.h File Reference
#include "ace/config-lite.h"
#include "ace/Basic_Types.h"

Namespaces

 ACE_OS
 This namespace defines an OS independent programming API that shields developers from nonportable aspects of writing efficient system programs on Win32, POSIX and other versions of UNIX, and various real-time operating systems.
 

Macros

#define ACE_EXPORT_MACRO   ACE_Export
 

Functions

char * ACE_OS::strtok_r (char *s, const char *tokens, char **lasts)
 Finds the next token in a string (safe char version). More...
 
wchar_t * ACE_OS::strtok_r (ACE_WCHAR_T *s, const ACE_WCHAR_T *tokens, ACE_WCHAR_T **lasts)
 Finds the next token in a string (wchar_t version). More...
 
Functions from <cstring>

Included are the functions defined in <cstring> and their <cwchar> equivalents.

Todo:
To be complete, we should add strcoll, and strxfrm.
const void * ACE_OS::memchr (const void *s, int c, size_t len)
 Finds characters in a buffer (const void version). More...
 
void * ACE_OS::memchr (void *s, int c, size_t len)
 Finds characters in a buffer (void version). More...
 
int ACE_OS::memcmp (const void *t, const void *s, size_t len)
 Compares two buffers. More...
 
void * ACE_OS::memcpy (void *t, const void *s, size_t len)
 Copies one buffer to another. More...
 
void * ACE_OS::memmove (void *t, const void *s, size_t len)
 Moves one buffer to another. More...
 
void * ACE_OS::memset (void *s, int c, size_t len)
 Fills a buffer with a character value. More...
 
char * ACE_OS::strcat (char *s, const char *t)
 Appends a string to another string (char version). More...
 
wchar_t * ACE_OS::strcat (wchar_t *s, const wchar_t *t)
 Appends a string to another string (wchar_t version). More...
 
const char * ACE_OS::strchr (const char *s, int c)
 
const wchar_t * ACE_OS::strchr (const wchar_t *s, wchar_t c)
 
char * ACE_OS::strchr (char *s, int c)
 Finds the first occurrence of a character in a string (char version). More...
 
wchar_t * ACE_OS::strchr (wchar_t *s, wchar_t c)
 Finds the first occurrence of a character in a string (wchar_t version). More...
 
int ACE_OS::strcmp (const char *s, const char *t)
 Compares two strings (char version). More...
 
int ACE_OS::strcmp (const ACE_WCHAR_T *s, const ACE_WCHAR_T *t)
 Compares two strings (wchar_t version). More...
 
char * ACE_OS::strcpy (char *s, const char *t)
 Copies a string (char version). More...
 
wchar_t * ACE_OS::strcpy (wchar_t *s, const wchar_t *t)
 Copies a string (wchar_t version). More...
 
size_t ACE_OS::strcspn (const char *s, const char *reject)
 
size_t ACE_OS::strcspn (const wchar_t *s, const wchar_t *reject)
 
char * ACE_OS::strdup (const char *s)
 Returns a malloced duplicated string (char version). More...
 
wchar_t * ACE_OS::strdup (const wchar_t *s)
 Returns a malloced duplicated string (wchar_t version). More...
 
char * ACE_OS::strecpy (char *des, const char *src)
 
wchar_t * ACE_OS::strecpy (wchar_t *s, const wchar_t *t)
 
char * ACE_OS::strerror (int errnum)
 
char * ACE_OS::strsignal (int signum)
 
size_t ACE_OS::strlen (const char *s)
 Finds the length of a string (char version). More...
 
size_t ACE_OS::strlen (const ACE_WCHAR_T *s)
 Finds the length of a string (ACE_WCHAR_T version). More...
 
char * ACE_OS::strncat (char *s, const char *t, size_t len)
 Appends part of a string to another string (char version). More...
 
ACE_WCHAR_TACE_OS::strncat (ACE_WCHAR_T *s, const ACE_WCHAR_T *t, size_t len)
 Appends part of a string to another string (wchar_t version). More...
 
const char * ACE_OS::strnchr (const char *s, int c, size_t len)
 
const ACE_WCHAR_TACE_OS::strnchr (const ACE_WCHAR_T *s, ACE_WCHAR_T c, size_t len)
 
char * ACE_OS::strnchr (char *s, int c, size_t len)
 Finds the first occurrence of a character in an array (char version). More...
 
ACE_WCHAR_TACE_OS::strnchr (ACE_WCHAR_T *s, ACE_WCHAR_T c, size_t len)
 Finds the first occurrence of a character in an array (ACE_WCHAR_T version). More...
 
int ACE_OS::strncmp (const char *s, const char *t, size_t len)
 Compares two arrays (char version). More...
 
int ACE_OS::strncmp (const ACE_WCHAR_T *s, const ACE_WCHAR_T *t, size_t len)
 Compares two arrays (wchar_t version). More...
 
char * ACE_OS::strncpy (char *s, const char *t, size_t len)
 Copies an array (char version) More...
 
ACE_WCHAR_TACE_OS::strncpy (ACE_WCHAR_T *s, const ACE_WCHAR_T *t, size_t len)
 Copies an array (ACE_WCHAR_T version) More...
 
size_t ACE_OS::strnlen (const char *s, size_t maxlen)
 Finds the length of a limited-length string (char version). More...
 
size_t ACE_OS::strnlen (const ACE_WCHAR_T *s, size_t maxlen)
 Finds the length of a limited-length string (ACE_WCHAR_T version). More...
 
const char * ACE_OS::strnstr (const char *s, const char *t, size_t len)
 
const ACE_WCHAR_TACE_OS::strnstr (const ACE_WCHAR_T *s, const ACE_WCHAR_T *t, size_t len)
 
char * ACE_OS::strnstr (char *s, const char *t, size_t len)
 Finds the first occurrence of a substring in an array (char version). More...
 
ACE_WCHAR_TACE_OS::strnstr (ACE_WCHAR_T *s, const ACE_WCHAR_T *t, size_t len)
 Finds the first occurrence of a substring in an array (wchar_t version). More...
 
const char * ACE_OS::strpbrk (const char *s1, const char *s2)
 Searches for characters in a string (const char version). More...
 
const wchar_t * ACE_OS::strpbrk (const wchar_t *s1, const wchar_t *s2)
 Searches for characters in a string (const wchar_t version). More...
 
char * ACE_OS::strpbrk (char *s1, const char *s2)
 Searches for characters in a string (char version). More...
 
wchar_t * ACE_OS::strpbrk (wchar_t *s1, const wchar_t *s2)
 Searches for characters in a string (wchar_t version). More...
 
const char * ACE_OS::strrchr (const char *s, int c)
 
const wchar_t * ACE_OS::strrchr (const wchar_t *s, wchar_t c)
 
char * ACE_OS::strrchr (char *s, int c)
 Finds the last occurrence of a character in a string (char version). More...
 
wchar_t * ACE_OS::strrchr (wchar_t *s, wchar_t c)
 Finds the last occurrence of a character in a string (wchar_t version). More...
 
char * ACE_OS::strsncpy (char *dst, const char *src, size_t maxlen)
 This is a "safe" c string copy function (char version). More...
 
ACE_WCHAR_TACE_OS::strsncpy (ACE_WCHAR_T *dst, const ACE_WCHAR_T *src, size_t maxlen)
 This is a "safe" c string copy function (wchar_t version). More...
 
size_t ACE_OS::strspn (const char *s1, const char *s2)
 
size_t ACE_OS::strspn (const wchar_t *s1, const wchar_t *s2)
 
const char * ACE_OS::strstr (const char *s, const char *t)
 
const wchar_t * ACE_OS::strstr (const wchar_t *s, const wchar_t *t)
 
char * ACE_OS::strstr (char *s, const char *t)
 Finds the first occurrence of a substring in a string (char version). More...
 
wchar_t * ACE_OS::strstr (wchar_t *s, const wchar_t *t)
 Finds the first occurrence of a substring in a string (wchar_t version). More...
 
char * ACE_OS::strtok (char *s, const char *tokens)
 Finds the next token in a string (char version). More...
 
wchar_t * ACE_OS::strtok (wchar_t *s, const wchar_t *tokens)
 Finds the next token in a string (wchar_t version). More...
 

Detailed Description

Author
Douglas C. Schmidt schmi.nosp@m.dt@c.nosp@m.s.wus.nosp@m.tl.e.nosp@m.du
Jesper S. M|llerstoph.nosp@m.ph@d.nosp@m.iku.d.nosp@m.k
and a cast of thousands...

Originally in OS.h.

Macro Definition Documentation

#define ACE_EXPORT_MACRO   ACE_Export