
SMT387-File System User Manual Sundance Digital Signal Processing
Thus, a complete file name might look like 2:xyz.txt. File names without file system numbers, such as xyz.txt, are assumed to be on file system 0, the
Function smt387fs_init Synopsis int smt387fs_init(size_t size, void *space); Definition The user task making use of the SMT387 File System Package
Function smt387fs_deinit Synopsis int smt387fs_deinit (); Definition The user task making use of the SMT387 File System Package may call this function
Function smt387fs_delete Synopsis int smt387fs_delete (char *filename); Definition Deletes the named file. Synchronization Thread safe. Error Conditio
Function smt387fs_rename Synopsis int smt387fs_rename (char *from, char *to); Definition Changes the name of file from to to. Synchronization Thread s
Function smt387fs_create_write Synopsis int smt387fs_create_write (char *filename, smt387fs_stream_handle *handle); Definition Creates a new file and
Function smt387fs_open_read Synopsis int smt387fs_open_read (char *filename, smt387fs_stream_handle *handle); Definition Opens the named file for read
Function smt387fs_close Synopsis int smt387fs_close (smt387fs_stream_handle *handle); Definition Closes the open file represented by handle, and overw
Function smt387fs_read Synopsis int smt387fs_read (smt387fs_stream_handle *handle, size_t size, void *buffer, size_t *actual); Definition Reads up to
Function smt387fs_write Synopsis int smt387fs_write (smt387fs_stream_handle *handle, size_t size, void *buffer); Definition Reads up to size bytes fro
Revision History Changes Made Issue Initials 02/04/05 Edition 1.1 Page 2
Function smt387fs_sync Synopsis int smt387fs_sync (); Definition Synchronizes the state of all open files’ data and metadata by flushing any buffered
List of Abbreviations Abbreviation Explanation FAT File Allocation Tables FS File System SMT Sundance Multiprocessor Technology SATA Serial ATA
Table Of Contents Introduction ...
Introduction This document describes the file system software package provided for use with the Sundance SMT387 module. It includes descriptions of th
Packaging The software is provided as the following files: • Smt387fs.h contains the API definitions as described in the User Guide, and must be #inc
Hard Disk Drive Preparation In order to be used with the SMT387 File System Package, a hard disk drive must first be prepared through a process of par
• File system type: FAT32 • Cluster size: 32KB If the partition is larger than about 32GB, you will not be given the option of a FAT32 file system,
Application Programming Interface (API) API Overview User code accesses the SMT387 File System Package through definitions contained in the header fil
Comments to this Manuals