NetBurner 3.5.0
PDF Version
 
fsf.h File Reference

Embedded Flash File System, EFFS-STD. More...

#include <file/fsm.h>
#include <file/fwerr.h>
#include <file/port_s.h>
#include <file/udefs.h>
#include "fsmf.h"

Go to the source code of this file.

Macros

#define FS_SEEK_SET   0
 Beginning of file.
 
#define FS_SEEK_CUR   1
 Current position of the file pointer.
 
#define FS_SEEK_END   2
 End of file.
 
#define fs_getfreespace(drivenum, space)   fsm_getfreespace(drivenum, space)
 Provides information about the drive space usage.
 
#define fs_mkdir(dirname)   fsm_mkdir(dirname)
 Makes a new directory.
 
#define fs_chdir(dirname)   fsm_chdir(dirname)
 Change the directory.
 
#define fs_rmdir(dirname)   fsm_rmdir(dirname)
 Removes a directory.
 
#define fs_delete(filename)   fsm_delete(filename)
 Deletes a file.
 
#define fs_findfirst(filename, find)   fsm_findfirst(filename, find)
 Find the first file or subdirectory in a specified directory.
 
#define fs_findnext(find)   fsm_findnext(find)
 Finds the next file or subdirectory in a specified directory after a previous call to fs_findfirst() or fs_findnext().
 
#define fs_open(filename, mode)   fsm_open(filename, mode)
 Opens a file in the file system.
 
#define fs_close(filehandle)   fsm_close(filehandle)
 Closes an opened file.
 
#define fs_write(buf, size, size_st, filehandle)   fsm_write(buf, size, size_st, filehandle)
 Write data to the file at the current position.
 
#define fs_read(buf, size, size_st, filehandle)   fsm_read(buf, size, size_st, filehandle)
 Read data from the current position in a file.
 
#define fs_seek(filehandle, offset, whence)   fsm_seek(filehandle, offset, whence)
 Move the stream position of an open file.
 
#define fs_eof(filehandle)   fsm_eof(filehandle)
 Check whether the current position in the open target file is the end of the file.
 
#define fs_rewind(filehandle)   fsm_rewind(filehandle)
 Sets the file position in the open target file to the start of the file.
 
#define fs_settimedate(filename, ctime, cdate)   fsm_settimedate(filename, ctime, cdate)
 Set the time and date of a file or directory.
 
#define fs_gettimedate(filename, pctime, pcdate)   fsm_gettimedate(filename, pctime, pcdate)
 Get the time and date of a file or directory.
 

Detailed Description

Embedded Flash File System, EFFS-STD.