Searched defs:wstring (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwsprintf.c49 wsprintf(wchar_t *wstring, const char *format, ...) argument
56 char *p1 = (char *)wstring;
76 if (mbstowcs(wstring, p2, len) == (size_t)-1) {
78 if ((retcode = mbtowc(wstring, p2, MB_CUR_MAX)) == -1) {
79 *wstring = (wchar_t)*p2 & 0xff;
84 if (*wstring++ == (wchar_t)0) {
92 len = wcslen(wstring);
/illumos-gate/usr/src/cmd/look/
H A Dlook.c41 char *wstring, *ptr; local
79 wstring = strdup(argv[1]);
81 if ((ptr = strchr(wstring, tab)) != NULL) {
85 canon(wstring,key);
/illumos-gate/usr/src/lib/libtsol/common/
H A Dbtos.c320 wchar_t *wstring; local
354 if ((wstring = malloc(slen * sizeof (wchar_t))) == NULL)
356 if ((wccount = mbstowcs(wstring, sstring, slen - 1)) == -1) {
357 free(wstring);
361 wchar_t *clipp = wstring + (len - 2);
369 while (wcstombs(NULL, wstring, 0) >= ssize) {
381 if ((wccount = wcstombs(sstring, wstring, ssize)) == -1) {
382 free(wstring);
386 free(wstring);
416 wchar_t *wstring; local
[all...]
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Ddoscan.c87 static int wstring(int *, int *, int, int, int, FILE *, va_list *);
535 size = wstring(&chcount, &flag_eof, stow,
976 wstring(int *chcount, int *flag_eof, int stow, int type, function
1012 wstring(int *chcount, int *flag_eof, int stow, int type, int len, FILE *iop, function

Completed in 81 milliseconds