# OS_NS_wchar.h File Reference

`#include "ace/config-all.h"`
`#include "ace/os_include/os_wchar.h"`
`#include "ace/Basic_Types.h"`
`#include "ace/ACE_export.h"`
`#include "ace/ace_wchar.h"`
`#include "ace/os_include/os_errno.h"`
`#include "ace/OS_NS_wchar.inl"`

Include dependency graph for OS_NS_wchar.h:

This graph shows which files directly or indirectly include this file:

## Namespaces

namespace | ACE_OS

## Defines

#define | ACE_EXPORT_MACRO ACE_Export
#define | ACE_INLINE inline

## Typedefs

typedef ACE_WCHAR_T | WChar

## Functions

ACE_NAMESPACE_INLINE_FUNCTION wint_t | fgetwc (FILE *fp)
ACE_Export wchar_t * | wcscat_emulation (wchar_t *destination, const wchar_t *source)
| Emulated wcscat - Appends a string.
ACE_Export wchar_t * | wcschr_emulation (const wchar_t *string, wint_t c)
| Emulated wcschr - Finds a character in a string.
ACE_Export int | wcscmp_emulation (const ACE_WCHAR_T *string1, const ACE_WCHAR_T *string2)
| Emulated wcscmp - Compares strings.
ACE_Export wchar_t * | wcscpy_emulation (wchar_t *destination, const wchar_t *source)
| Emulated wcscpy - Copies a string.
ACE_Export size_t | wcscspn_emulation (const wchar_t *string, const wchar_t *reject)
| Emulated wcscspn.
ACE_Export int | wcsicmp_emulation (const wchar_t *string1, const wchar_t *string2)
| Emulated wcsicmp - Performs a case insensitive comparison of strings.
ACE_Export size_t | wcslen_emulation (const ACE_WCHAR_T *string)
| Emulated wcslen - Returns the length of a string.
ACE_Export ACE_WCHAR_T * | wcsncat_emulation (ACE_WCHAR_T *destination, const ACE_WCHAR_T *source, size_t count)
| Emulated wcscat - Appends a string.
ACE_Export int | wcsncmp_emulation (const ACE_WCHAR_T *string1, const ACE_WCHAR_T *string2, size_t len)
| Emulated wcsncmp - Compares two arrays.
ACE_Export ACE_WCHAR_T * | wcsncpy_emulation (ACE_WCHAR_T *destination, const ACE_WCHAR_T *source, size_t len)
| Emulated wcsncpy - Copies an array.
ACE_Export int | wcsnicmp_emulation (const wchar_t *string1, const wchar_t *string2, size_t len)
ACE_Export wchar_t * | wcspbrk_emulation (const wchar_t *string, const wchar_t *charset)
| Emulated wcspbrk - Searches for characters in a string.
ACE_Export wchar_t * | wcsrchr_emulation (wchar_t *string, wint_t c)
ACE_Export const wchar_t * | wcsrchr_emulation (const wchar_t *string, wint_t c)
ACE_Export size_t | wcsspn_emulation (const wchar_t *string, const wchar_t *charset)
| Emulated wcsspn.
ACE_Export wchar_t * | wcsstr_emulation (const wchar_t *string, const wchar_t *charset)
| Emulated wcsstr - Performs a case insensitive comparison of two strings.
ACE_NAMESPACE_INLINE_FUNCTION u_int | wslen (const WChar *)
ACE_NAMESPACE_INLINE_FUNCTION WChar * | wscpy (WChar *, const WChar *)
ACE_NAMESPACE_INLINE_FUNCTION int | wscmp (const WChar *, const WChar *)
ACE_NAMESPACE_INLINE_FUNCTION int | wsncmp (const WChar *, const WChar *, size_t len)
ACE_NAMESPACE_INLINE_FUNCTION wint_t | ungetwc (wint_t c, FILE *fp)

## Detailed Description

Id
  OS_NS_wchar.h,v 1.7 2005/10/28 16:14:54 ossama Exp

Author:
  Douglas C. Schmidt <schmidt@cs.wustl.edu>

  Jesper S. M|ller<stophph@diku.dk>

  and a cast of thousands...

Originally in OS.h.

## Define Documentation

#define ACE_EXPORT_MACRO ACE_Export

#define ACE_INLINE inline

## Typedef Documentation

typedef ACE_WCHAR_T ACE_OS::WChar

## Function Documentation

ACE_NAMESPACE_INLINE_FUNCTION wint_t fgetwc | ( | FILE * | fp | ) |

ACE_NAMESPACE_INLINE_FUNCTION wint_t ungetwc | ( | wint_t | c,
|  | FILE * | fp
| ) |

ACE_BEGIN_VERSIONED_NAMESPACE_DECL wchar_t * ACE_OS::wcscat_emulation | ( | wchar_t * | destination,
|  | const wchar_t * | source
| ) |

| Emulated wcscat - Appends a string.

wchar_t * ACE_OS::wcschr_emulation | ( | const wchar_t * | string,
|  | wint_t | c
| ) |

| Emulated wcschr - Finds a character in a string.

int ACE_OS::wcscmp_emulation | ( | const ACE_WCHAR_T * | string1,
|  | const ACE_WCHAR_T * | string2
| ) |

| Emulated wcscmp - Compares strings.

wchar_t * ACE_OS::wcscpy_emulation | ( | wchar_t * | destination,
|  | const wchar_t * | source
| ) |

| Emulated wcscpy - Copies a string.

size_t ACE_OS::wcscspn_emulation | ( | const wchar_t * | string,
|  | const wchar_t * | reject
| ) |

| Emulated wcscspn.

int ACE_OS::wcsicmp_emulation | ( | const wchar_t * | string1,
|  | const wchar_t * | string2
| ) |

| Emulated wcsicmp - Performs a case insensitive comparison of strings.

size_t ACE_OS::wcslen_emulation | ( | const ACE_WCHAR_T * | string | ) |

| Emulated wcslen - Returns the length of a string.

ACE_WCHAR_T * ACE_OS::wcsncat_emulation | ( | ACE_WCHAR_T * | destination,
|  | const ACE_WCHAR_T * | source,
|  | size_t | count
| ) |

| Emulated wcscat - Appends a string.

int ACE_OS::wcsncmp_emulation | ( | const ACE_WCHAR_T * | string1,
|  | const ACE_WCHAR_T * | string2,
|  | size_t | len
| ) |

| Emulated wcsncmp - Compares two arrays.

ACE_WCHAR_T * ACE_OS::wcsncpy_emulation | ( | ACE_WCHAR_T * | destination,
|  | const ACE_WCHAR_T * | source,
|  | size_t | len
| ) |

| Emulated wcsncpy - Copies an array.

int ACE_OS::wcsnicmp_emulation | ( | const wchar_t * | string1,
|  | const wchar_t * | string2,
|  | size_t | len
| ) |

| Emulated wcsnicmp - Performs a case insensitive comparison of two arrays

wchar_t * ACE_OS::wcspbrk_emulation | ( | const wchar_t * | string,
|  | const wchar_t * | charset
| ) |

| Emulated wcspbrk - Searches for characters in a string.

const wchar_t * ACE_OS::wcsrchr_emulation | ( | const wchar_t * | string,
|  | wint_t | c
| ) |

| Emulated wcsrchr (const wchar_t version) - Finds the last occurance of a character in a string.

wchar_t * ACE_OS::wcsrchr_emulation | ( | wchar_t * | string,
|  | wint_t | c
| ) |

| Emulated wcsrchr (wchar_t version) - Finds the last occurance of a character in a string.

size_t ACE_OS::wcsspn_emulation | ( | const wchar_t * | string,
|  | const wchar_t * | charset
| ) |

| Emulated wcsspn.

wchar_t * ACE_OS::wcsstr_emulation | ( | const wchar_t * | string,
|  | const wchar_t * | charset
| ) |

| Emulated wcsstr - Performs a case insensitive comparison of two strings.

ACE_INLINE int ACE_OS::wscmp | ( | const WChar * | ,
|  | const WChar * |
| ) |

ACE_INLINE ACE_OS::WChar * ACE_OS::wscpy | ( | WChar * | ,
|  | const WChar * |
| ) |

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE u_int ACE_OS::wslen | ( | const WChar * |  | ) |

ACE_INLINE int ACE_OS::wsncmp | ( | const WChar * | ,
|  | const WChar * | ,
|  | size_t | len
| ) |