nsOutputFileStream *fp = new nsOutputFileStream(*fname);
nsOutputFileStream *fp = new nsOutputFileStream(*fname, PR_WRONLY | PR_CREATE_FILE, 00600);
void printVObjectsToFile(nsFileSpec *fname,VObject *list){#if !defined(MOZADDRSTANDALONE)  nsOutputFileStream *fp = new nsOutputFileStream(*fname);  if (fp) {    while (list) {      printVObject(fp,list);      list = nextVObjectInList(list);    }    fp->close();  }#else  PR_ASSERT(FALSE);#endif}