Home | History | Annotate | Download | only in platform

Lines Matching defs:file

3 // found in the LICENSE file.
334 FILE* OS::FOpen(const char* path, const char* mode) {
335 FILE* file = fopen(path, mode);
336 if (file == NULL) return NULL;
338 if (fstat(fileno(file), &file_stat) != 0) return NULL;
340 if (is_regular_file) return file;
341 fclose(file);
351 FILE* OS::OpenTemporaryFile() {
376 void OS::FPrint(FILE* out, const char* format, ...) {
384 void OS::VFPrint(FILE* out, const char* format, va_list args) {