     *paa) { l_int00  ret; FILE    *fp;      PROCNAME("pixaaWrite");  #if !HAVE_LIBPNG     /* defined in environ.h and config_auto.h */     return ERROR_INT("no libpng: can't read data", procName, 0); #endif  /* !HAVE_LIBPNG */      if (!filename)         return ERROR_INT("filename not defined", procName, 0);     if (!paa)         return ERROR_INT("paa not defined", procName, 0);      if ((fp = fopenWriteStream(filename, "wb")) == NULL)         return ERROR_INT("stream not opened", procName, 0);     ret = pixaaWriteStream(fp, paa);     fclose(fp);     if (ret)         return ERROR_INT("p