?? write.2
字號:
.TH WRITE 2 .SH NAMEwrite \- write on a file.SH SYNOPSIS.B write(fildes, buffer, nbytes).br.B char *buffer;.SH DESCRIPTIONA file descriptor is a word returned from asuccessful.I open,.I creat,.I dup,or.IR pipe (2)call..PP.I Bufferis the address of.I nbytescontiguousbytes which are written on the output file.The number of characters actually written is returned.It should be regarded as an errorif this is not the same as requested..PPWrites which are multiplesof 512 characters long and begin on a 512-byte boundaryin the fileare more efficient than any others..SH "SEE ALSO"creat(2), open(2), pipe(2).SH DIAGNOSTICSReturns\-1 on error: bad descriptor, buffer address, orcount; physical I/O errors..SH ASSEMBLER(write = 4.).br(file descriptor in r0).br.B sys write; buffer; nbytes.br(byte count in r0)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -