Home
last modified time | relevance | path

Searched refs:lockpath (Results 1 – 2 of 2) sorted by relevance

/freebsd/tools/test/stress2/lib/
H A Dresources.c52 static char lockpath[128]; variable
163 snprintf(lockpath, sizeof(lockpath), "%s/lock", op->cd); in getdf()
166 if ((lockfd = open(lockpath, in getdf()
174 getprogname(), lockpath); in getdf()
179 lockpath); in getdf()
180 unlink(lockpath); in getdf()
183 errx(1, "%s. Can not create %s\n", getprogname(), lockpath); in getdf()
188 unlink(lockpath); in getdf()
203 unlink(lockpath); in getdf()
246 if (unlink(lockpath) == -1) in reservedf()
[all …]
/freebsd/contrib/tcsh/
H A Dsh.hist.c1222 dotlock_cleanup(void* lockpath) in dotlock_cleanup() argument
1224 dot_unlock((char*)lockpath); in dotlock_cleanup()
1303 char *lockpath = strsave(short2str(fname)); in rechist() local
1304 cleanup_push(lockpath, xfree); in rechist()
1306 if ((dot_lock(lockpath, 100) == 0)) in rechist()
1307 cleanup_push(lockpath, dotlock_cleanup); in rechist()