Searched refs:file_ok (Results 1 – 1 of 1) sorted by relevance
415 char *file_ok; local419 if ((file_ok = (char *)malloc(strlen(file_name) + strlen(ok) + 1))427 strcpy(file_ok, file_name);428 strcat(file_ok, ok);429 if ((fd = open(file_ok, O_WRONLY|O_CREAT|O_TRUNC, 0600)) < 0) {432 file_ok);434 free(file_ok);440 file_ok);442 free(file_ok);446 free(file_ok);