[762] in Coldmud discussion meeting

root meeting help first previous next last

re: file stuff

daemon@ATHENA.MIT.EDU (Tue Aug 1 17:23:31 1995 )

From: "Maddog's Studio" <maddog@best.com>
To: coldstuff@MIT.EDU
Date: Tue, 1 Aug 1995 14:18:41 -0700 (PDT)

Maddog's Studio wrote:
> Definitely the form:
> 	open
> 	read/write
> 	close  
> 	stat or exists/eof

I whoops myself.  This is definitely low level.  I know this for a fact
because I was just playing with embedding Python in C and had to write
something like this:

	if (fp !=NULL){
		(void) run_script(fp,"something"); /* huh???? */

The higher level wrapper for this should look something like this:

Ah! much better.  Clearly I like (2) for this type of action.
And then maybe I don't understand the question at all.


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