keystore_lib/src/util/ksutil.cpp
/*
 * Informing about writing errors
 * @param res return code
 * @param fileName file name
 * @returns 0 or code below 0
 */
Informing about writing errors
@param res return code
@param fileName file name
@returns 0 or code below 0
Informing about writing errors @param res return code @param fileName file name @returns 0 or code below 0
int errWrite(int res, const char *fileName)
{
  if (res < 0)
  {
    fprintf(stderr, "error: cannot write to file %s\n", fileName);
  }
  return res < 0;
}
int errWrite ( int res , const char * fileName ) { if ( res < 0 ) { fprintf ( stderr , " \n " , fileName ) ; } return res < 0 ; }
Informing about writing errors
 @param res return code
 @param fileName file name
 @returns 0 or code below 0
Informing about writing errors @param res return code @param fileName file name @returns 0 or code below 0