write_bytes

MudOSa4DGD/doc/efun/write_bytes · 566 B

From the archive MudOSa4DGD-30.06.98.tar.gz

Download the archive   « Back to the archive contents

NAME
	write_bytes - write bytes to a file

SYNOPSIS
	varargs int write_bytes(string file, string str, int offset)

CONFIG.H - MUDOS_WRITE_BYTES_ARGS
	int write_bytes(string file, int offset, string str)


DESCRIPTION
	Write a string to a file.  If the optional third argument is
	specified and non-zero, write the string at the given offset in
	the file; otherwise, overwrite the file from beginning.
	The return value is 1 for success, 0 for failure.

        This_object() must have read access to the file.

SEE ALSO
	efun/read_bytes, kfun/editor, kfun/read_file

Site Stats

Snippets: 1791
Codebases: 571