Lines Matching defs:dst
61 static const char *inet_ntop4(const u_char *src, char *dst, socklen_t size);
62 static const char *inet_ntop6(const u_char *src, char *dst, socklen_t size);
65 * inet_ntop(af, src, dst, size)
68 * pointer to presentation format address (`dst'), or NULL (see errno).
73 inet_ntop(int af, const void *src, char *dst, socklen_t size)
77 _DIAGASSERT(dst != NULL);
81 return (inet_ntop4(src, dst, size));
83 return (inet_ntop6(src, dst, size));
92 * inet_ntop4(src, dst, size)
95 * `dst' (as a const)
103 inet_ntop4(const u_char *src, char *dst, socklen_t size)
109 _DIAGASSERT(dst != NULL);
117 //strlcpy(dst, tmp, size);
118 strncpyX(dst, tmp, (size_t)size);
119 return (dst);
123 * inet_ntop6(src, dst, size)
129 inet_ntop6(const u_char *src, char *dst, socklen_t size)
146 _DIAGASSERT(dst != NULL);
233 //strlcpy(dst, tmp, size);
234 strncpyX(dst, tmp, (size_t)size);
235 return (dst);