Searched refs:dstsize (Results 1 – 1 of 1) sorted by relevance
516 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize) in nla_strlcpy() argument524 if (dstsize > 0) { in nla_strlcpy()525 size_t len = (srclen >= dstsize) ? dstsize - 1 : srclen; in nla_strlcpy()527 memset(dst, 0, dstsize); in nla_strlcpy()