Extracted from Pike v7.3 release 45 at 2002-06-04.
pike.roxen.com
[Top]
Stdio

Method Stdio.write_file()


Method write_file

int Stdio.write_file(string filename, string str, int|void access)

Description

Write the string str onto the file filename. Any existing data in the file is overwritten.

Returns

Returns number of bytes written.

See also

Stdio.append_file, Stdio.read_bytes