ManaPlus
Macros
fileapi.h File Reference

(986a3bf)

#include "localconsts.h"

Go to the source code of this file.

Macros

#define FILEHTYPE   FILE *const
 
#define FILEMTYPE   char *
 
#define FILEHDEFAULT   nullptr
 
#define FILEOPEN(path, mode)   fopen(path, mode)
 
#define FILECLOSE   fclose
 
#define FILESEEK   fseek
 
#define FILEOPEN_FLAG_READ   "rb"
 
#define FILEOPEN_FLAG_WRITE   "wb"
 
#define FILEOPEN_FLAG_APPEND   "ab"
 

Macro Definition Documentation

◆ FILECLOSE

#define FILECLOSE   fclose

Definition at line 32 of file fileapi.h.

◆ FILEHDEFAULT

#define FILEHDEFAULT   nullptr

Definition at line 30 of file fileapi.h.

◆ FILEHTYPE

#define FILEHTYPE   FILE *const

Definition at line 28 of file fileapi.h.

◆ FILEMTYPE

#define FILEMTYPE   char *

Definition at line 29 of file fileapi.h.

◆ FILEOPEN

#define FILEOPEN (   path,
  mode 
)    fopen(path, mode)

Definition at line 31 of file fileapi.h.

◆ FILEOPEN_FLAG_APPEND

#define FILEOPEN_FLAG_APPEND   "ab"

Definition at line 36 of file fileapi.h.

◆ FILEOPEN_FLAG_READ

#define FILEOPEN_FLAG_READ   "rb"

Definition at line 34 of file fileapi.h.

◆ FILEOPEN_FLAG_WRITE

#define FILEOPEN_FLAG_WRITE   "wb"

Definition at line 35 of file fileapi.h.

◆ FILESEEK

#define FILESEEK   fseek

Definition at line 33 of file fileapi.h.