Beispiel #1
0
 internal static errno_t _wfopen_s(out void *fp, string path, string mode)
 {
     fixed(char *ppath = path)
     fixed(char *pmode = mode)
     {
         return(CStdio.C_wfopen_s(out fp, ppath, pmode));
     }
 }
Beispiel #2
0
 internal static int feof(void *fp)
 {
     return(CStdio.C_feof(fp));
 }
Beispiel #3
0
 internal static int fclose(void *fp)
 {
     return(CStdio.C_fclose(fp));
 }
Beispiel #4
0
 internal static int fflush(void *fp)
 {
     return(CStdio.C_fflush(fp));
 }
Beispiel #5
0
 internal static ulong fwrite(void *buffer, ulong elementSize, ulong count, void *fp)
 {
     return(CStdio.C_fwrite(buffer, elementSize, count, fp));
 }
Beispiel #6
0
 internal static ulong fread(void *buffer, ulong elementSize, ulong count, void *fp)
 {
     return(CStdio.fread(buffer, elementSize, count, fp));
 }