<HEAD> <TITLE> valid_write - checks if a certain object has write permission on a file </TITLE> </HEAD> <BODY BACKGROUND=http://www.imaginary.com/~beek/gifs/bg.jpg TEXT=#000000 ALINK=#FFFF00 VLINK=#550000 LINK=#000099> <center> <H1> valid_write - checks if a certain object has write permission on a file </H1> </center> <p> int valid_write( string file, object ob, string func ); <p> Every time an object tries to write a file, the driver calls valid_write in the master object to check if the write should be allowed. The arguments are the filename, the object making the write, and the calling function name (usually the name of the efun being used). If valid_write returns non-zero, the write is allowed. <p> See also: <A HREF=valid_read.html> valid_read </A> <p> <HR> <ADDRESS> <A HREF=http://wagner.princeton.edu/~tim> Tim Hollebeek </A> <p> <A HREF="http://www.imaginary.com/~beek/"> Beek </A>@ZorkMUD, Lima Bean, IdeaExchange, TMI-2, and elsewhere </ADDRESS>