23 #ifndef M2M_M2MB_FS_STDIO_H    24 #define M2M_M2MB_FS_STDIO_H    50 #ifndef M2M_M2MB_FS_POSIX_H    52 #define M2MB_SEEK_SET  0       53 #define M2MB_SEEK_CUR  1       54 #define M2MB_SEEK_END  2    INT32 m2mb_fs_fseek(M2MB_FILE_T *stream, INT32 offset, INT32 whence)
Move file position indicator. 
CHAR * m2mb_fs_fgets(CHAR *s, INT32 size, M2MB_FILE_T *stream)
Read line string from file as stream. 
struct M2MB_FILE_TAG M2MB_FILE_T
INT32 m2mb_fs_fgetc(M2MB_FILE_T *stream)
Read char from file as stream. 
SIZE_T m2mb_fs_fwrite(void *ptr, SIZE_T size, SIZE_T nitems, M2MB_FILE_T *stream)
Write file as stream. 
INT32 m2mb_fs_fclose(M2MB_FILE_T *stream)
Close file as stream. 
INT32 m2mb_fs_rename(const CHAR *oldpath, const CHAR *newpath)
Rename file or directory. 
INT32 m2mb_fs_remove(const CHAR *path)
Delete file. 
INT32 m2mb_fs_fputc(INT32 c, M2MB_FILE_T *stream)
Write char to file as stream. 
INT32 m2mb_fs_ftell(M2MB_FILE_T *stream)
Get file position indicator. 
INT32 m2mb_fs_fputs(const CHAR *s, M2MB_FILE_T *stream)
Write string to file as stream. 
SIZE_T m2mb_fs_fread(void *ptr, SIZE_T size, SIZE_T nitems, M2MB_FILE_T *stream)
Read file as stream. 
M2MB_FILE_T * m2mb_fs_fopen(const CHAR *path, const CHAR *mode)
Opens file as stream.