Searched refs:fname (Results 1 - 4 of 4) sorted by relevance

/libmicro/
H A Dfile_lock.c72 char fname[80]; local
75 (void) sprintf(fname, "/tmp/oneflock.%ld", getpid());
77 file = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600);
82 if (unlink(fname)) {
H A Dcascade_fcntl.c107 char fname[1024]; local
112 (void) sprintf(fname, "%s/cascade.%ld", optd, getpid());
114 file = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600);
119 if (unlink(fname)) {
H A Dcascade_flock.c113 char fname[1024]; local
123 (void) sprintf(fname, "%s/cascade.%ld", optd, getpid());
126 files[i] = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600);
130 if (unlink(fname)) {
H A Dcascade_lockf.c108 char fname[1024]; local
118 (void) sprintf(fname, "%s/cascade.%ld", optd, getpid());
121 files[i] = open(fname, O_CREAT | O_TRUNC | O_RDWR, 0600);
125 if (unlink(fname)) {

Completed in 9 milliseconds