Searched refs:connect_to (Results 1 – 1 of 1) sorted by relevance
186 static int get_socket(const char *connect_to) in get_socket() argument202 if(strlen(connect_to) >= sizeof(addr.sun_path)) { in get_socket()206 strcpy(addr.sun_path, connect_to); in get_socket()220 static int get_dev(const char *connect_to) in get_dev() argument223 return open(connect_to, O_RDWR); in get_dev()231 static struct xs_handle *get_handle(const char *connect_to) in get_handle() argument247 if (stat(connect_to, &buf) != 0) in get_handle()251 h->fd = get_socket(connect_to); in get_handle()253 h->fd = get_dev(connect_to); in get_handle()
Completed in 4 milliseconds