Lines Matching +defs:val +defs:from
56 * strtots(to, from): convert a char string 'from' into a tchar buffer 'to'.
67 strtots(tchar *to, char *from)
74 i = mbstotcs(NOSTR, from, 0);
82 i = mbstotcs(to, from, INT_MAX);
90 tstostr(char *to, tchar *from)
102 /* Get sum of byte counts for each char in from. */
104 ptc = from;
116 ptc = from;
130 * mbstotcs(to, from, tosize) is similar to strtots() except that
136 * char *from; - Source string.
140 mbstotcs(tchar *to, char *from, int tosize)
143 char *pmb = from;
344 char *val;
350 val = getenv(name);
351 if (val == (char *)NULL) {
354 return (pbuf = strtots(NOSTR, val));