ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示
/doc/applies/master/valid_write
vvvvaaaalllliiiidddd____wwwwrrrriiiitttteeee((((4444)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) vvvvaaaalllliiiidddd____wwwwrrrriiiitttteeee((((4444))))
NNNNAAAAMMMMEEEE
valid_write - checks if a certain person has write
permission on a file
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
int valid_write( string file, mixed user, string func );
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Every time a user tries to write a file, thie driver calls
valid_write in the master object to check if the write
should be allowed. The arguments are the filename, the name
of the person making the write, and the calling function
name. If valid_write returns non-zero, the write is
allowed.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
valid_read(4)
Page 1 (printed 3/16/95)