File Functions

void  
FSFile_BufAssign (FS_FILE         *p_file,
                  void            *p_buf,
                  FS_FLAGS         mode,
                  CPU_SIZE_T       size,
                  FS_ERR          *p_err);
void  
FSFile_BufFlush  (FS_FILE         *p_file,
                  FS_ERR          *p_err);
void  
FSFile_Close     (FS_FILE         *p_file,
                  FS_ERR          *p_err);
void  
FSFile_ClrErr    (FS_FILE         *p_file,
                  FS_ERR          *p_err);
CPU_BOOLEAN  
FSFile_IsEOF     (FS_FILE         *p_file,
                  FS_ERR          *p_err);
CPU_BOOLEAN  
FSFile_IsErr     (FS_FILE         *p_file,
                  FS_ERR          *p_err);
CPU_BOOLEAN  
FSFile_IsOpen    (CPU_CHAR        *name_full,
                  FS_FLAGS        *p_mode,
                  FS_ERR          *p_err);
void  
FSFile_LockAccept(FS_FILE         *p_file,
                  FS_ERR          *p_err);
void  
FSFile_LockGet   (FS_FILE         *p_file,
                  FS_ERR          *p_err);
void  
FSFile_LockSet   (FS_FILE         *p_file,
                  FS_ERR          *p_err);
FS_FILE  *
FSFile_Open      (CPU_CHAR        *name_full,
                  FS_FLAGS         mode
                  FS_ERR          *p_err);
FS_FILE_SIZE  
FSFile_PosGet    (FS_FILE         *p_file,
                  FS_ERR          *p_err);
void  
FSFile_PosSet    (FS_FILE         *p_file,
                  FS_FILE_OFFSET   offset,
                  FS_FLAGS         origin,
                  FS_ERR          *p_err);
void  
FSFile_Query     (FS_FILE         *p_file,
                  FS_ENTRY_INFO   *p_info,
                  FS_ERR          *p_err);
CPU_SIZE_T  
FSFile_Rd        (FS_FILE         *p_file,
                  void            *p_dest,
                  CPU_SIZE_T       size,
                  FS_ERR          *p_err);
void  
FSFile_Truncate  (FS_FILE         *p_file,
                  FS_FILE_SIZE     size,
                  FS_ERR          *p_err);
CPU_SIZE_T  
FSFile_Wr        (FS_FILE         *p_file,
                  void            *p_src,
                  CPU_SIZE_T       size,
                  FS_ERR          *p_err);