write_file(3) LP MudOSv21c7 (7 Jul 1996)
函数名称:
write_file() - appends a string to a file
函数语法:
int write_file( string file, string str, int flag );
整数 write_file( 字串 file, 字串 str, 整数 flag );
函数用法:
将字串 str 加到档案 file 中. 成功则传回 1, 失败传回 0.
如果 flag 为 1, 则 write_file() 会覆写 (overwrite) file
为 str, 而非加入 str.
参考函数:
read_file(3), write_buffer(3), file_size(3)
手册翻译:
Phoebus@ZH 97.Jul.25. (Writen 5/23/97)