tmpfile
extern FILE *tmpfile(void);
extern FILE *tmpfile(void);
if ((ifp = tmpfile())) {
char *tmpfile = origfile;
tmpfile = temp_file();
do_unchop(tmpfile, origfile);
replace(origfile, tmpfile);
remove(tmpfile);
ret = tmpfile.SetTo(&settings_entry, B_WRITE_ONLY | B_CREATE_FILE);
ret = tmpfile.Lock(); //-ATT-changed account_file to tmpfile. Is that allowed?
tmpfile.SetSize(0);
ret = archive.Flatten(&tmpfile);
ret = tmpfile.Sync();
BFile tmpfile;
extern FILE *tmpfile (void) __wur;
extern FILE *__REDIRECT (tmpfile, (void), tmpfile64) __wur;
BFile tmpfile("/tmp/tgatmp", B_READ_WRITE | B_CREATE_FILE |
CPPUNIT_ASSERT(tmpfile.InitCheck() == B_OK);
CPPUNIT_ASSERT(tmpfile.Seek(0, SEEK_SET) == 0);
CPPUNIT_ASSERT(tmpfile.SetSize(0) == B_OK);
CPPUNIT_ASSERT(proster->Translate(pinput, NULL, pmsg, &tmpfile,
CPPUNIT_ASSERT(CompareStreams(tmpfile, bitsfile) == true);
CPPUNIT_ASSERT(tmpfile.Seek(0, SEEK_SET) == 0);
CPPUNIT_ASSERT(tmpfile.SetSize(0) == B_OK);
CPPUNIT_ASSERT(proster->Translate(pinput, NULL, pmsg, &tmpfile,
CPPUNIT_ASSERT(CompareStreams(tmpfile, bitsfile) == true);
CPPUNIT_ASSERT(proster->Translate(&tmpfile, NULL, pmsg, &dtmpfile,
CPPUNIT_ASSERT(tmpfile.Seek(0, SEEK_SET) == 0);
CPPUNIT_ASSERT(tmpfile.SetSize(0) == B_OK);
CPPUNIT_ASSERT(proster->Translate(pinput, NULL, pmsg, &tmpfile,
CPPUNIT_ASSERT(CompareStreams(tmpfile, tgafile) == true);
CPPUNIT_ASSERT(proster->Translate(&tmpfile, NULL, pmsg, &dtmpfile,
CPPUNIT_ASSERT(proster->Translate(&tmpfile, NULL, pmsg, &dtmpfile,
BFile tmpfile("/tmp/out_styled_text.stxt", B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE);
CPPUNIT_ASSERT(tmpfile.InitCheck() == B_OK);
CPPUNIT_ASSERT(BTranslationUtils::PutStyledText(ptextview, &tmpfile) == B_OK);
CPPUNIT_ASSERT(tmpfile.GetSize(&tmpsize) == B_OK);
CPPUNIT_ASSERT(tmpfile.ReadAt(0, tmpbuf, tmpsize) == tmpsize);
CPPUNIT_ASSERT(BTranslationUtils::PutStyledText(NULL, &tmpfile) == B_BAD_VALUE);
const char* tmpfile = "__file";
int nocached = open(tmpfile, O_RDWR | O_NOCACHE);
int file = open(tmpfile, O_CREAT | O_TRUNC | O_RDWR);
char tmpfile[] = "/tmp/mmap_fixed_test_XXXXXX";
int fd = mkstemp(tmpfile);
unlink(tmpfile);