Lines Matching defs:lockpath
1164 char lockpath[MAXPATHLEN];
1175 (void) snprintf(lockpath, sizeof (lockpath), "%s/%s",
1178 if (access(lockpath, F_OK) != 0) {
1180 lockpath, strerror(errno));
1186 (void) snprintf(lockpath, sizeof (lockpath),
1196 fd = open(lockpath, O_CREAT|O_RDWR, LOCK_FILEMODE);
1226 perror(lockpath);
1264 perror(lockpath);