[752] in Coldmud discussion meeting

root meeting help first first in chain previous in chain previous next next in chain last in chain last

Re: tCD and ColdX mailing lists

daemon@ATHENA.MIT.EDU (Sun Jul 30 14:38:59 1995 )

From: "Maddog's Studio" <maddog@best.com>
To: coldstuff@MIT.EDU
Date: Sun, 30 Jul 1995 11:38:25 -0700 (PDT)
In-Reply-To: <9507301655.AA00637@riverheights.declab.usu.edu> from "869683 Gillespie Brandon James" at Jul 30, 95 10:55:36 am

869683 Gillespie Brandon James wrote:
> 
> 
	[...]
> I am currently in the process of adding a higher level of file control to
> the system.  Which of the following would you rather see:
> 
> read_file("filename", DBREF)
> 
> Where it opens file and reads blocks from it, sending them to DBREF until
> the file is at it's end.
> 
> Or:
> 
> open_file("filename", DBREF)
>   (opens the file, read's nothing)
> read_file()
>   (read's a block of the file associated with this object, returns it in
>    buffer form)
> close_file("filename", DBREF)
> 

Definitely the form:
	open
	read/write
	close  
	stat or exists/eof

Frank

-- 
________________________________________________________________________
maddog's studio http://www.maddog.com/
Frank Crowell frankc@maddog.com