write_buffer

skylib_fluffos_v3/mudlib/doc/driver/efuns/buffers/write_buffer · 694 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

.\"write a buffer to a file
.DT
write_buffer
$MUDNAME$ driver help
write_buffer
 
.SH Name
.SI 5
write_buffer() - write a buffer to a file
.EI

.SH Synopsis
.SI 5
int write_buffer( mixed dest, int start, mixed source );
.EI

.SH Description
.SP 5 5
If `dest' is a file, then `source' must be an int (and will be written to
the file in network-byte-order), a buffer, or a string, and `source' will
be written to the file `dest' starting at byte # `start'.

If `dest' is a buffer, then `source' will be written into the buffer starting
at byte # `start' in the buffer.  If `source' is an int, it will be written
in network-byte-order.
.EP

.SH See also
.SI 5
read_buffer(), allocate_buffer()
.EI

Site Stats

Snippets: 1791
Codebases: 571