Lines Matching refs:lck
36 * lck - the lock file
41 * Attempt to link it to 'lck'
45 * On Windows, where there are no links, no tmp file is used, and lck
96 atomic->lck = atomic->new + new_len + 1;
97 strcpy ((char *) atomic->lck, (char *) file);
98 strcat ((char *) atomic->lck, LCK_NAME);
100 atomic->tmp = atomic->lck + lck_len + 1;
140 ret = link ((char *) atomic->tmp, (char *) atomic->lck);
143 /* the filesystem where atomic->lck points to may not supports
146 ret = mkdir ((char *) atomic->lck, 0600);
151 ret = mkdir ((char *) atomic->lck, 0600);
161 if (FcStat (atomic->lck, &lck_stat) >= 0)
169 if (rmdir ((char *) atomic->lck) == 0)
174 if (unlink ((char *) atomic->lck) == 0)
178 if (rmdir ((char *) atomic->lck) == 0)
222 if (unlink ((char *) atomic->lck) == -1)
223 rmdir ((char *) atomic->lck);
225 rmdir ((char *) atomic->lck);