Login
User Name:

Password:



Register

Forgot your password?
 Overland with Bitmaps
Jul 4, 2025 11:57 pm
By Samson
void nanny_get_new_race -- comm.c
Mar 13, 2025 7:08 am
By Elwood
IPv6
Jan 25, 2025 10:45 pm
By Samson
mudstrlcpy and mudstrlcat
Jan 18, 2025 5:23 pm
By Samson
I3 and IMC
Jan 17, 2025 9:35 pm
By Samson
SWFotEFUSS 1.5.3
Author: Various
Submitted by: Samson
SWRFUSS 1.4.3
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.8
Author: Various
Submitted by: Samson
AFKMud 2.5.2
Author: AFKMud Team
Submitted by: Samson
SmaugFUSS 1.9.7
Author: Various
Submitted by: Samson
Users Online
Anthropic, AhrefsBot, Amazonbot, Bing, Meta

Members: 0
Guests: 8
Stats
Files
Topics
Posts
Members
Newest Member
507
3,812
19,725
597
VelmaThoms

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 784 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)