From the NannyMUD documentation
2000-12-09
NAME
write_bytes - Write characters at a given position in a file.SYNTAX
int write_bytes(string filename, int position, string text)DESCRIPTION
Write the string 'text' at a given position in a file. If the position is negative it is counted backwards from the end of the file. If the position is outside the file the nothing is written. If the 'text' extends outside the file then the file is extended.RETURN VALUES
1 - Succesfully wrote to file.0 - Failed to write to file.NOTE
Observe that you overwrite existing data in the file. Not like write_file where you only append data at the end.SEE ALSO
read_bytes in efun/disc_related/read_bytesSEE ALSO
write_file in efun/disc_related/write_fileSEE ALSO
read_file in efun/disc_related/read_file