MCPcopy Create free account
hub / github.com/demoth/jake2 / fopen

Method fopen

qcommon/src/main/java/jake2/qcommon/util/Lib.java:213–221  ·  view source on GitHub ↗

Like in libc

(String name, String mode)

Source from the content-addressed store, hash-verified

211
212 /** Like in libc */
213 public static RandomAccessFile fopen(String name, String mode) {
214 try {
215 return new RandomAccessFile(name, mode);
216 }
217 catch (Exception e) {
218 Com.DPrintf("Could not open file:" + name);
219 return null;
220 }
221 }
222
223 /** Like in libc */
224 public static void fclose(RandomAccessFile f) {

Callers 7

SVCmd_WriteIP_fMethod · 0.95
StartServer_MenuInitMethod · 0.95
WriteConfigurationMethod · 0.95
CheckOrDownloadFileMethod · 0.95
ParseDownloadMethod · 0.95
ConsoleClass · 0.95
writeArchiveVariablesMethod · 0.95

Calls 1

DPrintfMethod · 0.95

Tested by

no test coverage detected