コード例 #1
0
ファイル: filebuf.c プロジェクト: Ariston-Santos/core
HB_BOOL hb_fileExists( const char * pszFileName, char * pRetPath )
{
   int i = s_fileFindDrv( pszFileName );

   if( i >= 0 )
      return s_pFileTypes[ i ]->Exists( s_pFileTypes[ i ], pszFileName, pRetPath );

   return hb_spFileExists( pszFileName, pRetPath );
}
コード例 #2
0
ファイル: filebuf.c プロジェクト: cwanderlei/hbtest3
HB_BOOL hb_fileExists( const char * pFilename, char * pRetPath )
{
   int i = s_iFileTypes;

   while( --i >= 0 )
   {
      if( s_pFileTypes[ i ]->Accept( pFilename ) )
         return s_pFileTypes[ i ]->Exists( pFilename, pRetPath );
   }
   return hb_spFileExists( pFilename, pRetPath );
}
コード例 #3
0
ファイル: filebuf.c プロジェクト: Ariston-Santos/core
static HB_BOOL s_fileExists( PHB_FILE_FUNCS pFuncs, const char * pszFileName, char * pRetPath )
{
   HB_SYMBOL_UNUSED( pFuncs );

   return hb_spFileExists( pszFileName, pRetPath );
}