*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: write | Section: 2 | Source: UNIX v7 | File: write.2
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 re- turned. 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)

Navigation Options