Lines Matching defs:paths
29 #include <paths.h>
146 expand_paths(const char *s, char ***paths, u_int *n, int ignore_errors)
153 *paths = NULL;
176 if (strcmp(path, (*paths)[i]) == 0)
184 *paths = xreallocarray(*paths, (*n) + 1, sizeof *paths);
185 (*paths)[(*n)++] = path;
193 char **paths, *path, *base;
203 expand_paths(TMUX_SOCK, &paths, &n, 1);
208 path = paths[0]; /* can only have one socket! */
210 free(paths[i]);
211 free(paths);