Xonotic
file.qh
Go to the documentation of this file.
1 #pragma once
2 
4 bool fexists(string f)
5 {
6  int fh = fopen(f, FILE_READ);
7  if (fh < 0) return false;
8  fclose(fh);
9  return true;
10 }
const float FILE_READ
Definition: csprogsdefs.qc:231
#define ERASEABLE
Definition: _all.inc:35
ERASEABLE bool fexists(string f)
Definition: file.qh:4