Searched refs:path_or_fd (Results 1 – 1 of 1) sorted by relevance
/xen/tools/libvchan/ |
A D | vchan-socket-proxy.c | 146 static int connect_socket(const char *path_or_fd) { in connect_socket() argument 151 fd = strtoll(path_or_fd, &endptr, 0); in connect_socket() 157 if (strlen(path_or_fd) >= sizeof(addr.sun_path)) { in connect_socket() 159 path_or_fd, strlen(path_or_fd), sizeof(addr.sun_path)); in connect_socket() 170 strcpy(addr.sun_path, path_or_fd); in connect_socket() 182 static int listen_socket(const char *path_or_fd) { in listen_socket() argument 187 fd = strtoll(path_or_fd, &endptr, 0); in listen_socket() 192 if (strlen(path_or_fd) >= sizeof(addr.sun_path)) { in listen_socket() 194 path_or_fd, strlen(path_or_fd), sizeof(addr.sun_path)); in listen_socket() 206 strcpy(addr.sun_path, path_or_fd); in listen_socket()
|
Completed in 2 milliseconds