Lines Matching defs:path
523 const char *path, *sep;
532 path = strchr(filename, '/');
533 if (path != NULL && path > filename) { /* ~user/path */
534 slash = path - filename;
541 } else if ((pw = getpwuid(uid)) == NULL) /* ~/path */
551 /* Skip leading '/' from specified path */
552 if (path != NULL)
553 filename = path + 1;
1066 unix_listener(const char *path, int backlog, int unlink_first)
1073 if (strlcpy(sunaddr.sun_path, path, sizeof(sunaddr.sun_path)) >= sizeof(sunaddr.sun_path)) {
1075 path);
1088 if (unlink(path) != 0 && errno != ENOENT)
1089 error("unlink(%s): %.100s", path, strerror(errno));
1095 error("%s: cannot bind to path: %s", __func__, path);
1103 unlink(path);
1104 error("%s: cannot listen on path: %s", __func__, path);