Searched refs:modefile (Results 1 - 2 of 2) sorted by relevance
/netbsd-current/sbin/restore/ |
H A D | dirs.c | 115 static char modefile[MAXPATHLEN] = "#"; /* No file */ variable 169 (void) snprintf(modefile, sizeof(modefile), "%s/rstmode%jd", 172 (void) snprintf(modefile, sizeof(modefile), 174 if ((mfd = mkstemp(modefile)) == -1) 176 modefile); 180 mf = fopen(modefile, "w"); 182 err(1, "cannot open temporary file %s", modefile); 206 fail_dirtmp(modefile); [all...] |
/netbsd-current/usr.sbin/grfconfig/ |
H A D | grfconfig.c | 86 char *modefile = 0; local 98 case 't': /* test the modefile without setting it */ 115 modefile = av[1]; 122 if (modefile) { 123 if (!(fp = fopen(modefile, "r"))) 125 "Cannot open mode definition file `%s'", modefile);
|
Completed in 81 milliseconds