OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:sa_un
(Results
1 - 2
of
2
) sorted by null
/external/strace/
sockaddr.c
72
const struct sockaddr_un *const
sa_un
= buf;
local
73
const int un_len = addrlen > (int) sizeof(*
sa_un
)
74
? (int) sizeof(*
sa_un
) : addrlen;
78
if (
sa_un
->sun_path[0]) {
79
print_quoted_string(
sa_un
->sun_path, path_len + 1,
83
print_quoted_string(
sa_un
->sun_path + 1, path_len - 1, 0);
/external/curl/lib/
curl_addrinfo.c
494
struct sockaddr_un *
sa_un
;
local
508
sa_un
= (void *) ai->ai_addr;
509
sa_un
->sun_family = AF_UNIX;
513
if(path_len > sizeof(
sa_un
->sun_path)) {
527
memcpy(
sa_un
->sun_path + 1, path, path_len - 1);
529
memcpy(
sa_un
->sun_path, path, path_len); /* copy NUL byte */
Completed in 113 milliseconds