PHAT File System. More...
#include <fs/phatfs.h>
#include <fs/phatvol.h>
#include <fs/phatdir.h>
#include <fs/phatutil.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <ctype.h>
#include <errno.h>
#include <memdebug.h>
Go to the source code of this file.
Functions | |
void | GetDosTimeStamp (uint16_t *dostim, uint16_t *dosdat) |
Create a DOS timestamp of the current time and date. | |
int | MakePhatName (CONST char *src, uint8_t *dst) |
Convert filename to a directory entry name. | |
void | MakeVisibleName (CONST uint8_t *src, char *dst) |
Convert a directory entry name to a visible file name. | |
char * | GetParentPath (CONST char *path, CONST char **comp) |
Chop off the last component of a path. | |
int | IsFixedRootDir (NUTFILE *ndp) |
Test for PHAT12/PHAT16 root directory. | |
void | PhatFilePosRewind (PHATFILE *fcb) |
Set file pointer back to zero. | |
int | PhatFilePosSet (NUTFILE *nfp, uint32_t pos) |
Move file pointer to a specified position. |
PHAT File System.
* * $Log$ * Revision 1.7 2009/02/13 14:52:05 haraldkipp * Include memdebug.h for heap management debugging support. * * Revision 1.6 2008/08/11 06:59:42 haraldkipp * BSD types replaced by stdint types (feature request #1282721). * * Revision 1.5 2006/10/08 16:48:09 haraldkipp * Documentation fixed * * Revision 1.4 2006/06/18 16:39:46 haraldkipp * File modification date changed from GMT to local time for Windows * compatibility. * No need to set errno after malloc failed. * Support for long filenames (VFAT) added. * Fixed positioning bug, which caused several problems like limiting * directories to one cluster. * * Revision 1.3 2006/03/02 19:59:56 haraldkipp * ICCARM insists on a (void *) typecast for the second parameter of memcpy(). * * Revision 1.2 2006/02/23 15:45:22 haraldkipp * PHAT file system now supports configurable number of sector buffers. * This dramatically increased write rates of no-name cards. * AVR compile errors corrected. * * Revision 1.1 2006/01/05 16:31:50 haraldkipp * First check-in. * * *
Definition in file phatutil.c.