
UM017914-1211 Zilog File System Overview
Zilog File System
User Manual
5
File System APIs, refer to the Zilog File System Reference Manual (RM0039), which can
be found on zilog.com and is also located in the following filepath:
<ZDS II Installed directory>\Program
Files\Zilog\ZDSII_eZ80Acclaim!_A.B.C\ZTP\ZTPX.Y.Z_Lib\RZK\Docs
Table 2 provides a list of C Run-Time standard library APIs that are supported by the
Zilog File System.
Table 1. Zilog File System Standard API
Function Name Description
ZFSChdir Change the current working directory.
ZFSClose Close the opened file.
ZFSDelete Delete an existing file.
ZFSDeleteDir Delete an existing directory or subdirectories.
ZFSFormat Format the media used in the Zilog File System.
ZFSGetCwd Returns the current working directory.
ZFSGetCwdLen Returns the number of bytes contained in CWD string.
ZFSGetDirFileCount Returns the number of files and directories present in the given directory.
ZFSGetErrNum Returns the error number if recent Zilog File System API execution contains
an error.
ZFSGetVolumeCount Returns the number of volumes present in the system.
ZFSGetVolumeParams Returns the volume parameters such as free space, used space, volume
name and volume size.
ZFSInit Initializes the Zilog File System and returns the invalid volume(s) informa-
tion for the required processes such as formatting of the volume etc.
ZFSList Lists all files and directories present in given path.
ZFSMkdir Creates a directory under the given path.
ZFSOpen Opens a file for reading/writing/appending or create a new file.
ZFSRead Reads data from an opened file.
ZFSRename Renames a file.
ZFSRenameDir Renames a directory.
ZFSSeek Sets file read/write pointer to the specified location.
ZFSShutdown Uninitializes the file system.
ZFSWrite Writes data to a opened file.
Comentários a estes Manuais