ekg2  GIT master
 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje Grupay Strony
Definicje | Funkcje | Zmienne
Dokumentacja pliku nc-strings.h
#include "ekg2-config.h"
#include "ecurses.h"
#include <wchar.h>

Idź do kodu źródłowego tego pliku.

Definicje

#define CHAR_T   wchar_t
 
#define TEXT(x)   (wchar_t *) L##x
 
#define CHAR(x)   (wchar_t) L##x
 
#define STRING_FORMAT   "%ls"
 
#define CHAR_FORMAT   "%lc"
 
#define free_utf(x)   xfree(x)
 

Funkcje

size_t xwcslen (const wchar_t *str)
 
size_t xmbslen (const char *str)
 
wchar_t * xwcscpy (wchar_t *dst, wchar_t *src)
 
wchar_t * xwcsdup (wchar_t *str)
 
wchar_t * xwcscat (wchar_t *dst, const wchar_t *src)
 
int xwcscmp (const wchar_t *s1, const wchar_t *s2)
 
wchar_t * xwcschr (const wchar_t *s, wchar_t c)
 
char * wcs_to_normal (const wchar_t *str)
 
wchar_t * normal_to_wcs (const char *str)
 
wchar_t ** wcs_array_make (const wchar_t *string, const wchar_t *sep, int max, int trim, int quotes)
 
wchar_t * wcs_array_join (wchar_t **array, const wchar_t *sep)
 
size_t xwcslcpy (wchar_t *dst, const wchar_t *src, size_t size)
 

Zmienne

int config_use_unicode
 

Dokumentacja definicji

#define CHAR (   x)    (wchar_t) L##x
#define CHAR_FORMAT   "%lc"
#define CHAR_T   wchar_t
#define free_utf (   x)    xfree(x)
#define STRING_FORMAT   "%ls"
#define TEXT (   x)    (wchar_t *) L##x

Dokumentacja funkcji

wchar_t* normal_to_wcs ( const char *  str)
inline
wchar_t* wcs_array_join ( wchar_t **  array,
const wchar_t *  sep 
)
inline
wchar_t** wcs_array_make ( const wchar_t *  string,
const wchar_t *  sep,
int  max,
int  trim,
int  quotes 
)
inline
char* wcs_to_normal ( const wchar_t *  str)
inline
size_t xmbslen ( const char *  str)
inline
wchar_t* xwcscat ( wchar_t *  dst,
const wchar_t *  src 
)
inline
wchar_t* xwcschr ( const wchar_t *  s,
wchar_t  c 
)
inline
int xwcscmp ( const wchar_t *  s1,
const wchar_t *  s2 
)
inline
wchar_t* xwcscpy ( wchar_t *  dst,
wchar_t *  src 
)
inline
wchar_t* xwcsdup ( wchar_t *  str)
inline
size_t xwcslcpy ( wchar_t *  dst,
const wchar_t *  src,
size_t  size 
)
inline
size_t xwcslen ( const wchar_t *  str)
inline

Dokumentacja zmiennych

int config_use_unicode