Login
User Name:

Password:



Register

Forgot your password?
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
Users Online
Google

Members: 0
Guests: 43
Stats
Files
Topics
Posts
Members
Newest Member
489
3,791
19,644
596
Elwood

Today's Birthdays
There are no member birthdays today.
Files
Upload Rules | File Index | Search | Recent Uploads
» Root » SmaugFUSS » Smaug Snippets
New file handling functions
Author Submitted by Version D/L File Size Date Added Last Updated

Keberus/Darien Keberus 618 9.34 KB Dec 21, 2008 Feb 28, 2010

Description
File handling functions for SMAUG by Greg (Keberus Maou'San ) Mosley and Darien (ldevil@hotmail.com)

This code is meant to replace fopen and fclose calls so the mud can keep track of which files are
open and the location from where they file opening was called. It now also writes to a temporary
file first, then once all the writing is done, it renames the file to minimize the likelihood
of corrupting files.

2/28/10 -Updated to fix positioning of nulling out FilesOpen and First/Last File data.

Revisions: 3
Rating: | Download | Comments(2)