Subversion Repositories Projects

Rev

Rev 317 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 317 Rev 318
Line 1697... Line 1697...
1697
/*                                                                                                                                                                                                                                                                              */
1697
/*                                                                                                                                                                                                                                                                              */
1698
/*      Description:    This function checks if a file already exist.                                                                                                                                           */
1698
/*      Description:    This function checks if a file already exist.                                                                                                                                           */
1699
/*                                                                                                                                                                                                                                                                              */
1699
/*                                                                                                                                                                                                                                                                              */
1700
/*      Returnvalue:    1 if the file exist else 0.                                                                                                                                                                                     */
1700
/*      Returnvalue:    1 if the file exist else 0.                                                                                                                                                                                     */
1701
/****************************************************************************************************************************************/
1701
/****************************************************************************************************************************************/
1702
uint8_t fexist_(const int8_t* filename)
1702
uint8_t fexist_(int8_t* const filename)
1703
{
1703
{
1704
        uint8_t exist = 0;
1704
        uint8_t exist = 0;
1705
        File_t *file = 0;
1705
        File_t *file = 0;
1706
        file = LockFilePointer();
1706
        file = LockFilePointer();
1707
        exist = FileExist(filename, ATTR_NONE, ATTR_SUBDIRECTORY|ATTR_VOLUMELABEL, file);
1707
        exist = FileExist(filename, ATTR_NONE, ATTR_SUBDIRECTORY|ATTR_VOLUMELABEL, file);