Lines Matching refs:TZSYNC_FILE
47 #define TZSYNC_FILE "/var/run/tzsync"
115 char path[sizeof (TZSYNC_FILE) + 16];
121 if (stat(TZSYNC_FILE, &st) == 0) {
123 TZSYNC_FILE);
129 (void) strcpy(path, TZSYNC_FILE "XXXXXX");
153 if (link(path, TZSYNC_FILE) != 0) {
156 TZSYNC_FILE);
159 TZSYNC_FILE);
173 if (chmod(TZSYNC_FILE, 0644) != 0) {
176 TZSYNC_FILE);
177 (void) unlink(TZSYNC_FILE);
196 strlcat(file, TZSYNC_FILE, sizeof (file)) >= sizeof (file)) {