Référence du fichier wchar.h


Description détaillée

Note:
Ajouté en C95.


Macros

#define NULL
#define WCHAR_MAX
#define WCHAR_MIN
#define WEOF

Définition de type

typedef __integral wchar_t
 caractère large
typedef __unsigned size_t
 taille des objets
typedef __object_type mbstate_t
 état de conversion.
typedef __integral wint_t
 entier capable de contenir un caractère large

Fonctions

int fwprintf (FILE *, wchar_t const *,...)
int fwscanf (FILE *, wchar_t const *,...)
int wprintf (wchar_t const *,...)
int wscanf (wchar_t const *,...)
int swprintf (wchar_t *, size_t, wchar_t const *,...)
int swscanf (wchar_t const *, wchar_t const *,...)
int vfprintf (FILE *, wchar_t const *, va_list)
int vwprintf (wchar_t const *, va_list)
int vswprintf (wchar_t *, size_t, wchar_t const *, va_list)
wint_t fgetw (FILE *)
wchar_tfgetws (wchar_t *, int, FILE *)
wint_t fputwc (wchar_t, FILE *)
int fputws (wchar_t const *, FILE *)
wint_t getwc (FILE *)
wint_t getwchar (void)
wint_t putwc (wchar_t, FILE *)
wint_t putwchar (wchar_t)
wint_t ungetwc (wint_t, FILE *)
int fwide (FILE *, int)
double wcstod (wchar_t const *, wchar_t **)
long wcstol (wchar_t const *, wchar_t **, int)
unsigned long wcstoul (wchar_t const *, wchar_t **, int)
wchar_twcscpy (wchar_t *, wchar_t const **)
wchar_twcsncpy (wchar_t *, wchar_t const **, size_t)
wchar_twcscat (wchar_t *, wchar_t const *)
wchar_twcsncat (wchar_t *, wchar_t const *, size_t)
int wcscmp (wchar_t const *, wchar_t const *)
int wcscoll (wchar_t const *, wchar_t const *)
int wcsncmp (wchar_t const *, wchar_t const *, size_t)
size_t wcsxfrm (wchar_t *, wchar_t const *, size_t)
wchar_twcschr (wchar_t const *, wchar_t)
size_t wcscspn (wchar_t const *, wchar_t const *)
wchar_twcspbrk (wchar_t const *, wchar_t const *)
wchar_twcsrchr (wchar_t const *, wchar_t)
size_t wcsspn (wchar_t const *, wchar_t const *)
wchar_twcsstr (wchar_t const *, wchar_t const *)
wchar_twcstok (wchar_t *, wchar_t const *, wchar_t **)
size_t wcslen (wchar_t const *)
wchar_twmemchr (wchar_t const *, wchar_t, size_t)
int wmemcmp (wchar_t const *, wchar_t const *, size_t)
wchar_twmemcpy (wchar_t *, wchar_t const *, size_t)
wchar_twmemmove (wchar_t *, wchar_t const *, size_t)
wchar_twmemset (wchar_t *, wchar_t, size_t)
size_t wcsftime (wchar_t *, size_t, wchar_t const *, struct tm const *)
wint_t btowc (int)
int wctob (wint_t)
int mbsinit (mbstate_t const *)
size_t mbrlen (char const *, size_t, mbstate_t *)
size_t mbrtowc (wchar_t *, char const *, size_t *, mbstate_t *)
size_t wcrtomb (char *, wchar_t const *, size_t *, mbstate_t *)
size_t mbsrtowcs (wchar_t *, char const **, size_t, mbstate_t *)
size_t wcsrtombs (char *, wchar_t const **, size_t, mbstate_t *)


Documentation des macros

#define NULL

#define WCHAR_MAX

#define WCHAR_MIN

#define WEOF


Documentation des définition de type

typedef __object_type mbstate_t

Type objet, autre qu'un tableau, contenant l'information d'état nécessaire aux conversions entre caractères multibytes et caractères larges

typedef __unsigned size_t

Ce type entier non signé est capable de contenir la taille des objets.

Voir stddef.h pour plus d'informations.

typedef __integral wchar_t

Ce type entier est capable de représenter tous les codes pour le charset le plus étendu parmi les charsets des locales supportées.

Voir stddef.h pour plus d'informations.

typedef __integral wint_t

Voir <wctype.h>


Documentation des fonctions

wint_t btowc ( int   ) 

wint_t fgetw ( FILE  ) 

wchar_t* fgetws ( wchar_t ,
int  ,
FILE  
)

wint_t fputwc ( wchar_t  ,
FILE  
)

int fputws ( wchar_t const *  ,
FILE  
)

int fwide ( FILE ,
int   
)

int fwprintf ( FILE ,
wchar_t const *  ,
  ... 
)

int fwscanf ( FILE ,
wchar_t const *  ,
  ... 
)

wint_t getwc ( FILE  ) 

wint_t getwchar ( void   ) 

size_t mbrlen ( char const *  ,
size_t  ,
mbstate_t  
)

size_t mbrtowc ( wchar_t ,
char const *  ,
size_t ,
mbstate_t  
)

int mbsinit ( mbstate_t const *   ) 

size_t mbsrtowcs ( wchar_t ,
char const **  ,
size_t  ,
mbstate_t  
)

wint_t putwc ( wchar_t  ,
FILE  
)

wint_t putwchar ( wchar_t   ) 

int swprintf ( wchar_t ,
size_t  ,
wchar_t const *  ,
  ... 
)

int swscanf ( wchar_t const *  ,
wchar_t const *  ,
  ... 
)

wint_t ungetwc ( wint_t  ,
FILE  
)

int vfprintf ( FILE ,
wchar_t const *  ,
va_list   
)

int vswprintf ( wchar_t ,
size_t  ,
wchar_t const *  ,
va_list   
)

int vwprintf ( wchar_t const *  ,
va_list   
)

size_t wcrtomb ( char *  ,
wchar_t const *  ,
size_t ,
mbstate_t  
)

wchar_t* wcscat ( wchar_t ,
wchar_t const *   
)

wchar_t* wcschr ( wchar_t const *  ,
wchar_t   
)

int wcscmp ( wchar_t const *  ,
wchar_t const *   
)

int wcscoll ( wchar_t const *  ,
wchar_t const *   
)

wchar_t* wcscpy ( wchar_t ,
wchar_t const **   
)

size_t wcscspn ( wchar_t const *  ,
wchar_t const *   
)

size_t wcsftime ( wchar_t ,
size_t  ,
wchar_t const *  ,
struct tm const *   
)

size_t wcslen ( wchar_t const *   ) 

wchar_t* wcsncat ( wchar_t ,
wchar_t const *  ,
size_t   
)

int wcsncmp ( wchar_t const *  ,
wchar_t const *  ,
size_t   
)

wchar_t* wcsncpy ( wchar_t ,
wchar_t const **  ,
size_t   
)

wchar_t* wcspbrk ( wchar_t const *  ,
wchar_t const *   
)

wchar_t* wcsrchr ( wchar_t const *  ,
wchar_t   
)

size_t wcsrtombs ( char *  ,
wchar_t const **  ,
size_t  ,
mbstate_t  
)

size_t wcsspn ( wchar_t const *  ,
wchar_t const *   
)

wchar_t* wcsstr ( wchar_t const *  ,
wchar_t const *   
)

double wcstod ( wchar_t const *  ,
wchar_t **   
)

wchar_t* wcstok ( wchar_t ,
wchar_t const *  ,
wchar_t **   
)

long wcstol ( wchar_t const *  ,
wchar_t **  ,
int   
)

unsigned long wcstoul ( wchar_t const *  ,
wchar_t **  ,
int   
)

size_t wcsxfrm ( wchar_t ,
wchar_t const *  ,
size_t   
)

int wctob ( wint_t   ) 

wchar_t* wmemchr ( wchar_t const *  ,
wchar_t  ,
size_t   
)

int wmemcmp ( wchar_t const *  ,
wchar_t const *  ,
size_t   
)

wchar_t* wmemcpy ( wchar_t ,
wchar_t const *  ,
size_t   
)

wchar_t* wmemmove ( wchar_t ,
wchar_t const *  ,
size_t   
)

wchar_t* wmemset ( wchar_t ,
wchar_t  ,
size_t   
)

int wprintf ( wchar_t const *  ,
  ... 
)

int wscanf ( wchar_t const *  ,
  ... 
)


Copyright © 2008 -- 2009 Jean-Marc Bourguet Accueil Pages sur le C