gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:snprintf from t2ex/bsd_source/t2ex/network/net/src_bsdlib/libc/net/getnameinfo.c (0.00 seconds)
t2ex
bsd_source/t2ex/network/net/src_bsdlib/libc/net/getnameinfo.c - 18.4KB - 563 lines
238:                 } else {
239:                         snprintf(numserv, sizeof(numserv), "%u", ntohs(port));
240:                         if (strlen(numserv) + 1 > servlen)
434: if ((flags & NI_NUMERICSCOPE) != 0) { 435: n = snprintf(buf, bufsiz, "%u", sa6->sin6_scope_id); 436: if (n < 0 || n >= bufsiz)
452: /* last resort */ 453: n = snprintf(buf, bufsiz, "%u", sa6->sin6_scope_id); 454: if (n < 0 || (size_t) n >= bufsiz)
481: if (sdl->sdl_nlen == 0 && sdl->sdl_alen == 0 && sdl->sdl_slen == 0) { 482: n = snprintf(host, hostlen, "link#%u", sdl->sdl_index); 483: if (n < 0 || (socklen_t) n > hostlen) {
495: if (CLLADDR(sdl)[1] == 0) 496: n = snprintf(host, hostlen, "%u", CLLADDR(sdl)[0]); 497: else 498: n = snprintf(host, hostlen, "%u.%u", 499: CLLADDR(sdl)[1], CLLADDR(sdl)[0]);
552: for (i = 0; i < len; i++) { 553: n = snprintf(outp, hostlen, "%s%02x", 554: i ? ":" : "", cp[i]);