50 pFile = fopen( pFileName,
"r" );
53 printf(
"Ioa_FileSize(): The file is unavailable (absent or open).\n" );
57 nFileSize = ftell( pFile );
77 if ( (pDot =
strrchr( pRes,
'.' )) )
95 static char Buffer[1000];
103 if ( (pDot =
strrchr( Buffer,
'.' )) )
105 strcat( Buffer, pSuffix );
107 for ( pDot = Buffer +
strlen(Buffer) - 1; pDot >= Buffer; pDot-- )
108 if (!((*pDot >=
'0' && *pDot <=
'9') ||
109 (*pDot >=
'a' && *pDot <=
'z') ||
110 (*pDot >=
'A' && *pDot <=
'Z') ||
111 *pDot ==
'_' || *pDot ==
'.') )
129 static char Buffer[100];
134 TimeStamp = asctime( localtime( <ime ) );
135 TimeStamp[
strlen(TimeStamp) - 1 ] = 0;
136 strcpy( Buffer, TimeStamp );
char * Ioa_FileNameGenericAppend(char *pBase, char *pSuffix)
ABC_NAMESPACE_IMPL_START int Ioa_FileSize(char *pFileName)
DECLARATIONS ///.
#define ABC_NAMESPACE_IMPL_END
char * Ioa_FileNameGeneric(char *FileName)
#define ABC_NAMESPACE_IMPL_START
char * Abc_UtilStrsav(char *s)