Searched refs:STRN_CPY (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/lib/libwrap/ |
H A D | tli.c | 240 STRN_CPY(host->addr, uaddr, sizeof(host->addr)); 305 STRN_CPY(host->name, found ? service->h_host : paranoid, 325 STRN_CPY(buf, strerror(errno), sizeof (buf)); in tli_error()
|
H A D | socket.c | 146 STRN_CPY(host->addr, inet_ntoa(sin->sg_sin.sin_addr), sizeof(host->addr)); 171 STRN_CPY(host->name, hp->h_name, sizeof(host->name));
|
H A D | update.c | 87 STRN_CPY(ptr, va_arg(ap, char *), STRING_LENGTH);
|
H A D | rfc931.c | 194 STRN_CPY(dest, result, STRING_LENGTH);
|
H A D | tcpd.h | 119 #define STRN_CPY(d, s, l) { strncpy((d), (s), (l)); (d)[(l)-1] = 0; } macro
|