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