File System Component  Version 6.16.6
MDK Middleware for Devices with Flash File System
Function Overview

The following list provides a brief overview of all File System Component functions.

  • Standard I/O Routines
    • fclose : Causes stream flush.
    • fflush : Enforces a write operation to a data stream.
    • fopen : Opens a file for reading or writing.
    • freopen : Reopens a file for reading or writing.
    • setbuf : Sets stream buffer.
    • setvbuf : Sets stream buffer.
    • fprintf : Writes a string to a data stream.
    • fscanf : Reads values from a data stream.
    • vfscanf : Reads data from the stream.
    • vfprintf : Writes a string to a data stream.
    • fgetc : Reads a single character from a data steam.
    • fgets : Reads a string from a data steam.
    • fputc : Writes a character to a data stream.
    • fputs : Writes a string to a data stream.
    • getc : Reads a single character from a data steam.
    • putc : Writes a character to a data stream.
    • ungetc : Stores a character back into the data stream.
    • fread : Reads a number of items with a given size from a data stream.
    • fwrite : Writes items from a buffer to a data stream.
    • fgetpos : Stores the current value of the file position indicator.
    • fseek : Positions the file cursor to a new location.
    • fsetpos : Sets the file position indicator.
    • ftell : Reads the file cursor position.
    • rewind : Rewinds positions of the file cursor to the beginning of a data stream.
    • clearerr : Clears the end-of-file and error indicators.
    • feof : Determines whether an end-of-file condition has occurred.
    • ferror : Tests a data stream for read or write errors.
  • System Routines
    • finit : Initializes the required software library resources.
    • funinit : Uninitializes the File System.
    • fmount : Mounts the File System of a specified drive.
    • funmount : Unmounts a File System volume.
  • File Maintenance Routines
    • fdelete : Deletes one or more files.
    • ffind : Searches for files or directories that match a specific pattern.
    • frename : Replaces the name of a file or directory.
    • fattrib : Changes file or directory attributes.
  • Directory Maintenance Routines
    • fpwd : Prints the current working directory.
    • fchdir : Changes the current working directory.
    • fmkdir : Creates a new directory or any intermediate directories in the path.
    • frmdir : Removes a directory if it is empty.
  • Utility Routines
    • fchdrive : Changes the "Current Drive".
    • ffree : Calculates the free space on a device.
    • fformat : Formats an EFS or FAT storage media for using a file system.
    • fanalyse : Examines the Embedded File System and checks for file fragmentation.
    • fcheck : Analyses the consistency of the Embedded File System and determines if it has been initialized.
    • fdefrag : De-fragments the Embedded File System.
    • fmedia : Detects the presence of a removable drive in the system.
    • finfo : Reads general drive information.
    • fvol : Reads the volume label.
  • File Time Support Routines
  • Media Support Routines
  • I/O Control Interface Routines