Abrir con sobrescritura C
int fout = open(out_file_name, O_WRONLY | O_CREAT | O_TRUNC, 644);
Gotta Go fast
int fout = open(out_file_name, O_WRONLY | O_CREAT | O_TRUNC, 644);