Searched refs:charaddr (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/libnls/common/ |
H A D | nlsenv.c | 75 char *charaddr; local 80 if (!(charaddr = getenv(envname))) 85 envname, charaddr, strlen(charaddr)); 88 if ((int)strlen(charaddr) & 1) 91 length = (strlen(charaddr) + 1) / 2; 96 return(nlsc2addr(buf->buf, buf->maxlen, charaddr)); 191 * B. If 'charaddr' does not contain a series of octets 192 * (strlen(charaddr) must be even). (rc = -2) 193 * C. Any character in 'charaddr' i 204 nlsc2addr(char *addr, int maxlen, char *charaddr) argument [all...] |
/illumos-gate/usr/src/cmd/listen/ |
H A D | nlsaddr.c | 175 nlsaddr2c(charaddr, addr, len) 176 char *charaddr, *addr; 183 *charaddr++ = hex_digits[(i>>4) & 0xf]; 184 *charaddr++ = hex_digits[i & 0xf]; 186 *charaddr = (char)0; 199 * B. If 'charaddr' does not contain a series of octets 200 * (strlen(charaddr) must be even). (rc = -2) 201 * C. Any character in 'charaddr' is not an ASCII hex digit. 212 nlsc2addr(addr, maxlen, charaddr) 213 char *addr, *charaddr; [all...] |
Completed in 56 milliseconds