Searched refs:fopen_mode (Results 1 – 2 of 2) sorted by relevance
677 const char* fopen_mode = (mode == FileMode::kReadOnly) ? "r" : "r+"; in open() local681 if (FILE* file = fopen(name, fopen_mode)) { in open()
1347 static char const fopen_mode[] = "wb"; in open_outfile() local1349 static char const fopen_mode[] = "wbx"; in open_outfile()1357 while (! (fp = fopen(*outname, fopen_mode))) { in open_outfile()