Home
last modified time | relevance | path

Searched refs:STRN_CPY (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/tcp_wrappers/
H A Drfc931.c99 STRN_CPY(dest, result, STRING_LENGTH);
110 STRN_CPY(dest, result, STRING_LENGTH);
225 STRN_CPY(dest, result, STRING_LENGTH);
H A Dsocket.c160 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 Dtli.c248 STRN_CPY(host->addr, uaddr, sizeof(host->addr));
312 STRN_CPY(host->name, found ? service->h_host : paranoid,
H A Dupdate.c88 STRN_CPY(ptr, va_arg(ap, char *), STRING_LENGTH); in request_fill()
H A Dtcpd.h50 #define STRN_CPY(d,s,l) { strncpy((d),(s),(l)); (d)[(l)-1] = 0; } macro