wchar.h File Reference

API published in:
API deprecated in:


#include <sys/cdefs.h>
#include <sys/_null.h>
#include <sys/_types.h>
#include <sys/stat.h>
#include <machine/_limits.h>
#include <_ctype.h>
#include <_ansi.h>
#include <stdio.h>
#include <sys/dirent.h>

Go to the source code of this file.


Defines

#define  WCHAR_MIN   (wchar_t)__INT_MIN
#define  WCHAR_MAX   (wchar_t)__INT_MAX
#define  WEOF   ((wint_t)-1)
#define  getwc(fp)   fgetwc(fp)
#define  getwchar()   fgetwc(__stdinp)
#define  putwc(wc, fp)   fputwc(wc, fp)
#define  putwchar(wc)   fputwc(wc, __stdoutp)

Typedefs

typedef __mbstate_t  mbstate_t
typedef __size_t  size_t
typedef __wchar_t  wchar_t
typedef __wint_t  wint_t

Functions

__BEGIN_DECLS IMPORT_C wint_t  btowc (int)
IMPORT_C wint_t  fgetwc (struct __sFILE *)
IMPORT_C wchar_t fgetws (wchar_t *__restrict, int, struct __sFILE *__restrict)
IMPORT_C wint_t  fputwc (wchar_t, struct __sFILE *)
IMPORT_C int  fputws (const wchar_t *__restrict, struct __sFILE *__restrict)
IMPORT_C int  fwide (struct __sFILE *, int)
IMPORT_C int  fwprintf (struct __sFILE *__restrict, const wchar_t *__restrict,...)
IMPORT_C int  fwscanf (struct __sFILE *__restrict, const wchar_t *__restrict,...)
IMPORT_C wint_t  getwc (struct __sFILE *)
IMPORT_C size_t  mbrlen (const char *__restrict, size_t, mbstate_t *__restrict)
IMPORT_C size_t  mbrtowc (wchar_t *__restrict, const char *__restrict, size_t, mbstate_t *__restrict)
IMPORT_C int  mbsinit (const mbstate_t *)
IMPORT_C size_t  mbsrtowcs (wchar_t *__restrict, const char **__restrict, size_t, mbstate_t *__restrict)
IMPORT_C wint_t  putwc (wchar_t, struct __sFILE *)
IMPORT_C wint_t  putwchar (wchar_t)
IMPORT_C int  swprintf (wchar_t *__restrict, size_t n, const wchar_t *__restrict,...)
IMPORT_C int  swscanf (const wchar_t *__restrict, const wchar_t *__restrict,...)
IMPORT_C wint_t  ungetwc (wint_t, struct __sFILE *)
IMPORT_C int  vfwprintf (struct __sFILE *__restrict, const wchar_t *__restrict, va_list)
IMPORT_C int  vswprintf (wchar_t *__restrict, size_t n, const wchar_t *__restrict, va_list)
IMPORT_C int  vwprintf (const wchar_t *__restrict, va_list)
IMPORT_C size_t  wcrtomb (char *__restrict, wchar_t, mbstate_t *__restrict)
IMPORT_C wchar_t wcscat (wchar_t *__restrict, const wchar_t *__restrict)
IMPORT_C wchar_t wcschr (const wchar_t *, wchar_t) __pure
IMPORT_C int  wcscmp (const wchar_t *, const wchar_t *) __pure
IMPORT_C int  wcscoll (const wchar_t *, const wchar_t *)
IMPORT_C wchar_t wcscpy (wchar_t *__restrict, const wchar_t *__restrict)
IMPORT_C size_t  wcscspn (const wchar_t *, const wchar_t *) __pure
IMPORT_C size_t  wcsftime (wchar_t *__restrict, size_t, const wchar_t *__restrict, const struct tm *__restrict)
IMPORT_C size_t  wcslen (const wchar_t *) __pure
IMPORT_C wchar_t wcsncat (wchar_t *__restrict, const wchar_t *__restrict, size_t)
IMPORT_C int  wcsncmp (const wchar_t *, const wchar_t *, size_t) __pure
IMPORT_C wchar_t wcsncpy (wchar_t *__restrict, const wchar_t *__restrict, size_t)
IMPORT_C wchar_t wcspbrk (const wchar_t *, const wchar_t *) __pure
IMPORT_C wchar_t wcsrchr (const wchar_t *, wchar_t) __pure
IMPORT_C size_t  wcsrtombs (char *__restrict, const wchar_t **__restrict, size_t, mbstate_t *__restrict)
IMPORT_C size_t  wcsspn (const wchar_t *, const wchar_t *) __pure
IMPORT_C wchar_t wcsstr (const wchar_t *__restrict, const wchar_t *__restrict) __pure
IMPORT_C size_t  wcsxfrm (wchar_t *__restrict, const wchar_t *__restrict, size_t)
IMPORT_C int  wctob (wint_t)
IMPORT_C double  wcstod (const wchar_t *__restrict, wchar_t **__restrict)
IMPORT_C wchar_t wcstok (wchar_t *__restrict, const wchar_t *__restrict, wchar_t **__restrict)
IMPORT_C long  wcstol (const wchar_t *__restrict, wchar_t **__restrict, int)
IMPORT_C unsigned long  wcstoul (const wchar_t *__restrict, wchar_t **__restrict, int)
IMPORT_C wchar_t wmemchr (const wchar_t *, wchar_t, size_t) __pure
IMPORT_C int  wmemcmp (const wchar_t *, const wchar_t *, size_t) __pure
IMPORT_C wchar_t wmemcpy (wchar_t *__restrict, const wchar_t *__restrict, size_t)
IMPORT_C wchar_t wmemmove (wchar_t *, const wchar_t *, size_t)
IMPORT_C wchar_t wmemset (wchar_t *, wchar_t, size_t)
IMPORT_C int  wprintf (const wchar_t *__restrict,...)
IMPORT_C int  wscanf (const wchar_t *__restrict,...)

Variables

__sFILE __stdinp
__sFILE __stdoutp
__sFILE __stderrp

Define Documentation

#define getwc fp   )     fgetwc(fp)
 
IMPORT_C wint_t getwchar void   )     fgetwc(__stdinp)
 
#define putwc wc,
fp   )     fputwc(wc, fp)
 
#define putwchar wc   )     fputwc(wc, __stdoutp)
 
#define WCHAR_MAX   (wchar_t)__INT_MAX
 
#define WCHAR_MIN   (wchar_t)__INT_MIN
 
#define WEOF   ((wint_t)-1)
 

Typedef Documentation

typedef __mbstate_t mbstate_t
 
typedef __size_t size_t
 
typedef __wchar_t wchar_t
 
typedef __wint_t wint_t
 

Function Documentation

__BEGIN_DECLS IMPORT_C wint_t btowc int   ) 
 
IMPORT_C wint_t fgetwc struct __sFILE  ) 
 
IMPORT_C wchar_t* fgetws wchar_t __restrict,
int  ,
struct __sFILE __restrict
 
IMPORT_C wint_t fputwc wchar_t  ,
struct __sFILE
 
IMPORT_C int fputws const wchar_t __restrict,
struct __sFILE __restrict
 
IMPORT_C int fwide struct __sFILE ,
int 
 
IMPORT_C int fwprintf struct __sFILE __restrict,
const wchar_t __restrict,
  ...
 
IMPORT_C int fwscanf struct __sFILE __restrict,
const wchar_t __restrict,
  ...
 
IMPORT_C wint_t getwc struct __sFILE  ) 
 
IMPORT_C size_t mbrlen const char *  __restrict,
size_t  ,
mbstate_t __restrict
 
IMPORT_C size_t mbrtowc wchar_t __restrict,
const char *  __restrict,
size_t  ,
mbstate_t __restrict
 
IMPORT_C int mbsinit const mbstate_t  ) 
 
IMPORT_C size_t mbsrtowcs wchar_t __restrict,
const char **  __restrict,
size_t  ,
mbstate_t __restrict
 
IMPORT_C wint_t putwc wchar_t  ,
struct __sFILE
 
IMPORT_C wint_t putwchar wchar_t   ) 
 
IMPORT_C int swprintf wchar_t __restrict,
size_t  n,
const wchar_t __restrict,
  ...
 
IMPORT_C int swscanf const wchar_t __restrict,
const wchar_t __restrict,
  ...
 
IMPORT_C wint_t ungetwc wint_t  ,
struct __sFILE
 
IMPORT_C int vfwprintf struct __sFILE __restrict,
const wchar_t __restrict,
va_list 
 
IMPORT_C int vswprintf wchar_t __restrict,
size_t  n,
const wchar_t __restrict,
va_list 
 
IMPORT_C int vwprintf const wchar_t __restrict,
va_list 
 
IMPORT_C size_t wcrtomb char *  __restrict,
wchar_t  ,
mbstate_t __restrict
 
IMPORT_C wchar_t* wcscat wchar_t __restrict,
const wchar_t __restrict
 
IMPORT_C wchar_t* wcschr const wchar_t ,
wchar_t 
 
IMPORT_C int wcscmp const wchar_t ,
const wchar_t
 
IMPORT_C int wcscoll const wchar_t ,
const wchar_t
 
IMPORT_C wchar_t* wcscpy wchar_t __restrict,
const wchar_t __restrict
 
IMPORT_C size_t wcscspn const wchar_t ,
const wchar_t
 
IMPORT_C size_t wcsftime wchar_t __restrict,
size_t  ,
const wchar_t __restrict,
const struct tm __restrict
 
IMPORT_C size_t wcslen const wchar_t  ) 
 
IMPORT_C wchar_t* wcsncat wchar_t __restrict,
const wchar_t __restrict,
size_t 
 
IMPORT_C int wcsncmp const wchar_t ,
const wchar_t ,
size_t 
 
IMPORT_C wchar_t* wcsncpy wchar_t __restrict,
const wchar_t __restrict,
size_t 
 
IMPORT_C wchar_t* wcspbrk const wchar_t ,
const wchar_t
 
IMPORT_C wchar_t* wcsrchr const wchar_t ,
wchar_t 
 
IMPORT_C size_t wcsrtombs char *  __restrict,
const wchar_t **  __restrict,
size_t  ,
mbstate_t __restrict
 
IMPORT_C size_t wcsspn const wchar_t ,
const wchar_t
 
IMPORT_C wchar_t* wcsstr const wchar_t __restrict,
const wchar_t __restrict
 
IMPORT_C double wcstod const wchar_t __restrict,
wchar_t **  __restrict
 
IMPORT_C wchar_t* wcstok wchar_t __restrict,
const wchar_t __restrict,
wchar_t **  __restrict
 
IMPORT_C long wcstol const wchar_t __restrict,
wchar_t **  __restrict,
int 
 
IMPORT_C unsigned long wcstoul const wchar_t __restrict,
wchar_t **  __restrict,
int 
 
IMPORT_C size_t wcsxfrm wchar_t __restrict,
const wchar_t __restrict,
size_t 
 
IMPORT_C int wctob wint_t   ) 
 
IMPORT_C wchar_t* wmemchr const wchar_t ,
wchar_t  ,
size_t 
 
IMPORT_C int wmemcmp const wchar_t ,
const wchar_t ,
size_t 
 
IMPORT_C wchar_t* wmemcpy wchar_t __restrict,
const wchar_t __restrict,
size_t 
 
IMPORT_C wchar_t* wmemmove wchar_t ,
const wchar_t ,
size_t 
 
IMPORT_C wchar_t* wmemset wchar_t ,
wchar_t  ,
size_t 
 
IMPORT_C int wprintf const wchar_t __restrict,
  ...
 
IMPORT_C int wscanf const wchar_t __restrict,
  ...
 

Variable Documentation

struct __sFILE* __stderrp
 
struct __sFILE* __stdinp
 
struct __sFILE* __stdoutp
 

Copyright © Nokia Corporation 2001-2008
Back to top