src/sgp/FileMan.cc
/** Open file for reading and writing.
 * If file doesn't exist, it will be created. */
Open file for reading and writing.
If file doesn't exist, it will be created.
Open file for reading and writing . If file doesn ' t exist it will be created .
SGPFile* FileMan::openForReadWrite(const char *filename)
{
	int         mode;
	const char* fmode = GetFileOpenModes(FILE_ACCESS_READWRITE, &mode);
	int d = open3(filename, mode | O_CREAT, 0600);
	return getSGPFileFromFD(d, filename, fmode);
}
SGPFile * FileMan :: openForReadWrite ( const char * filename ) { int mode ; const char * fmode = GetFileOpenModes ( FILE_ACCESS_READWRITE , & mode ) ; int d = open3 ( filename , mode | O_CREAT , 0600 ) ; return getSGPFileFromFD ( d , filename , fmode ) ; }
Open file for reading and writing.
Open file for reading and writing .