Misc llcommon tidbits from v2.

This commit is contained in:
Shyotl
2011-03-15 02:28:22 -05:00
parent b06dcb45c0
commit e29d969631
9 changed files with 68 additions and 25 deletions

View File

@@ -98,6 +98,17 @@ LLFILE* LLFile::_fsopen(const std::string& filename, const char* mode, int shari
#endif
}
int LLFile::close(LLFILE * file)
{
int ret_value = 0;
if (file)
{
ret_value = fclose(file);
}
return ret_value;
}
int LLFile::remove(const std::string& filename)
{
#if LL_WINDOWS