Home
last modified time | relevance | path

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

/curl/lib/
H A Dcurl_addrinfo.c465 struct sockaddr_un *sa_un; in Curl_unix2addr() local
475 sa_un = (void *) ai->ai_addr; in Curl_unix2addr()
476 sa_un->sun_family = AF_UNIX; in Curl_unix2addr()
480 if(path_len > sizeof(sa_un->sun_path)) { in Curl_unix2addr()
493 memcpy(sa_un->sun_path + 1, path, path_len - 1); in Curl_unix2addr()
495 memcpy(sa_un->sun_path, path, path_len); /* copy NUL byte */ in Curl_unix2addr()

Completed in 4 milliseconds