Searched refs:STRN_CPY (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/tcp_wrappers/ |
H A D | rfc931.c | 99 STRN_CPY(dest, result, STRING_LENGTH); 110 STRN_CPY(dest, result, STRING_LENGTH); 225 STRN_CPY(dest, result, STRING_LENGTH);
|
H A D | socket.c | 160 STRN_CPY(host->addr, inet_ntoa(sin->sin_addr), sizeof(host->addr)); in sock_hostaddr() 210 STRN_CPY(host->name, hname, sizeof(host->name)); in sock_hostname() 336 STRN_CPY(host->name, hp->h_name, sizeof(host->name)); in sock_hostname()
|
H A D | tli.c | 248 STRN_CPY(host->addr, uaddr, sizeof(host->addr)); 312 STRN_CPY(host->name, found ? service->h_host : paranoid,
|
H A D | update.c | 88 STRN_CPY(ptr, va_arg(ap, char *), STRING_LENGTH); in request_fill()
|
H A D | tcpd.h | 50 #define STRN_CPY(d,s,l) { strncpy((d),(s),(l)); (d)[(l)-1] = 0; } macro
|