write_bytes

final_realms_fluffos_v1/lib/doc/driver/efuns/filesystem/write_bytes · 615 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

.\"writes a contiguous series of bytes to a file beginning at a given point.

.DT
write_bytes
Discworld driver help
write_bytes

Name
.SI 5
write_bytes() - writes a contiguous series of bytes to a file

.EI
Synopsis
.SI 5
int write_bytes(string path, int start, string series);

.EI
Description
.SP 5 5
This function writes the bytes in 'series' into the file named by 'path'
beginning at byte # 'start'.  Note that (start + strlen(read_file(path)))
must not be past the end of the file 'path' or write_bytes() will fail.
It returns 0 upon failure, 1 otherwise.

.EP
See also
.SI 5
write_file(3), read_bytes(3)
.EI

Site Stats

Snippets: 1791
Codebases: 571