V3/man/man2/write.2

Compare this file to the similar file:
Show the results in this format:

.pa 1
.he 'WRITE (II)'3/15/72'WRITE (II)'
.ti 0
NAME		write  --  write on file
.sp
.ti 0
SYNOPSIS	(file descriptor in r0)
.br
sys write; buffer; nbytes  / write = 4.
.br
(number written in r0)
.sp
.ti 0
DESCRIPTION	A file descriptor is a word returned from a
successful open____ or creat_____ call.
.sp
buffer______ is the address of nbytes______ contiguous
bytes which are written on the output file.
The number of characters actually written is returned in r0.
It should be regarded as an error
if this is not the same as requested.
.sp
Writes which are multiples
of 512 characters long and begin on a 512-byte boundary
are more efficient than any others.
.sp
.ti 0
SEE ALSO	creat(II), open(II)
.sp
.ti 0
DIAGNOSTICS	The error bit
(c-bit) is set on an error: bad descriptor, buffer address, or
count; physical I/O errors.
.sp
.ti 0
BUGS		--