v7 man page for write

Query: write

OS: v7

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

WRITE(2)							System Calls Manual							  WRITE(2)

NAME
write - write on a file
SYNOPSIS
write(fildes, buffer, nbytes) char *buffer;
DESCRIPTION
A file descriptor is a word returned from a successful open, creat, dup, or pipe(2) call. Buffer is the address of nbytes contiguous bytes which are written on the output file. The number of characters actually written is returned. It should be regarded as an error if this is not the same as requested. Writes which are multiples of 512 characters long and begin on a 512-byte boundary in the file are more efficient than any others.
SEE ALSO
creat(2), open(2), pipe(2)
DIAGNOSTICS
Returns -1 on error: bad descriptor, buffer address, or count; physical I/O errors.
ASSEMBLER
(write = 4.) (file descriptor in r0) sys write; buffer; nbytes (byte count in r0) WRITE(2)
Related Man Pages
write(2) - redhat
read(2) - minix
lseek(2) - v7
read(2) - plan9
write(2) - suse
Similar Topics in the Unix Linux Community
perl -write values in a file to @array in perl
write() issue during a low level hdd access
How to write bash script for creating user on multiple Linux hosts?
Removing VBSEO for vbulletin – Reverting back to vbulletin URLs
Saywhat UNIX - content editors / writers needed