|
|
1.1 ! root 1: .pa 1 ! 2: .he 'WRITE (II)'3/15/72'WRITE (II)' ! 3: .ti 0 ! 4: NAME write -- write on file ! 5: .sp ! 6: .ti 0 ! 7: SYNOPSIS (file descriptor in r0) ! 8: .br ! 9: sys write; buffer; nbytes / write = 4. ! 10: .br ! 11: (number written in r0) ! 12: .sp ! 13: .ti 0 ! 14: DESCRIPTION A file descriptor is a word returned from a ! 15: successful open____ or creat_____ call. ! 16: .sp ! 17: buffer______ is the address of nbytes______ contiguous ! 18: bytes which are written on the output file. ! 19: The number of characters actually written is returned in r0. ! 20: It should be regarded as an error ! 21: if this is not the same as requested. ! 22: .sp ! 23: Writes which are multiples ! 24: of 512 characters long and begin on a 512-byte boundary ! 25: are more efficient than any others. ! 26: .sp ! 27: .ti 0 ! 28: SEE ALSO creat(II), open(II) ! 29: .sp ! 30: .ti 0 ! 31: DIAGNOSTICS The error bit ! 32: (c-bit) is set on an error: bad descriptor, buffer address, or ! 33: count; physical I/O errors. ! 34: .sp ! 35: .ti 0 ! 36: BUGS --
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.