ekg2  GIT master
Definicje | Funkcje | Zmienne
Dokumentacja pliku nc-strings.h
#include "ekg2-config.h"
#include "ecurses.h"
#include <wchar.h>
Wykres zależności załączania dla nc-strings.h:
Ten wykres pokazuje, które pliki bezpośrednio lub pośrednio załączają ten plik:

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

◆ CHAR

#define CHAR (   x)    (wchar_t) L##x

◆ CHAR_FORMAT

#define CHAR_FORMAT   "%lc"

◆ CHAR_T

#define CHAR_T   wchar_t

◆ free_utf

#define free_utf (   x)    xfree(x)

◆ STRING_FORMAT

#define STRING_FORMAT   "%ls"

◆ TEXT

#define TEXT (   x)    (wchar_t *) L##x

Dokumentacja funkcji

◆ normal_to_wcs()

wchar_t* normal_to_wcs ( const char *  str)
inline

◆ wcs_array_join()

wchar_t* wcs_array_join ( wchar_t **  array,
const wchar_t *  sep 
)
inline

◆ wcs_array_make()

wchar_t** wcs_array_make ( const wchar_t *  string,
const wchar_t *  sep,
int  max,
int  trim,
int  quotes 
)
inline

◆ wcs_to_normal()

char* wcs_to_normal ( const wchar_t *  str)
inline

◆ xmbslen()

size_t xmbslen ( const char *  str)
inline

◆ xwcscat()

wchar_t* xwcscat ( wchar_t *  dst,
const wchar_t *  src 
)
inline

◆ xwcschr()

wchar_t* xwcschr ( const wchar_t *  s,
wchar_t  c 
)
inline

◆ xwcscmp()

int xwcscmp ( const wchar_t *  s1,
const wchar_t *  s2 
)
inline

◆ xwcscpy()

wchar_t* xwcscpy ( wchar_t *  dst,
wchar_t *  src 
)
inline

◆ xwcsdup()

wchar_t* xwcsdup ( wchar_t *  str)
inline

◆ xwcslcpy()

size_t xwcslcpy ( wchar_t *  dst,
const wchar_t *  src,
size_t  size 
)
inline

◆ xwcslen()

size_t xwcslen ( const wchar_t *  str)
inline

Dokumentacja zmiennych

◆ config_use_unicode

int config_use_unicode