⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 putchar.3

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 3
字号:
.th PUTCHAR III 5/10/73.sh NAMEputchar, flush \*- write character.sh SYNOPSIS.ft Bputchar(ch).s3flush( ).ft R.sh DESCRIPTION.it Putcharwrites out its argument and returns it unchanged.Only the low-order byte is written, and only if it is non-null.Unless other arrangements have been made,.it putcharwrites inunbuffered fashion on the standard output file..s3Associated with this routine is an external variable.it foutwhich has thestructure of a buffer discussed under putc (III).If the file descriptor part of this structure (first word)is greater than 2, output via.it putcharis buffered.To achieve buffered output one may say, for example,.s3.nf	fout = dup(1);		or	fout = creat(...);.s3.fiIn such a case.it flushmust be calledbefore the program terminates in order to flush outthe buffered output..it Flushmay be called at any time..sh "SEE ALSO"putc (III).sh BUGSThe.it foutnotion is kludgy.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -