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

📄 getchar.3

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 3
字号:
.th GETCHAR III 4/7/73.sh NAMEgetchar \*- read character.sh SYNOPSIS.ft Bgetchar( ).br.ft R.sh DESCRIPTION.it Getcharprovides the simplest means of reading characters fromthe standard input for C programs.It returns successive characters until end-of-file,when it returns ``\\0''..s3Associated with this routine is an external variablecalled \fIfin\fR, which is a structure containinga buffer such as described under \fIgetc\fR (III)..s3Generally speaking,.it getcharshould be used only for the simplest applications;.it getcis better when there are multiple input files..sh "SEE ALSO"getc (III).sh DIAGNOSTICSNull character returned on EOF or error..sh BUGS\*-1 should bereturned on EOF; null is a legitimate character.

⌨️ 快捷键说明

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