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

📄 setbuf.3s

📁 unix v7是最后一个广泛发布的研究型UNIX版本
💻 3S
字号:
.TH SETBUF 3S .SH NAMEsetbuf \- assign buffering to a stream.SH SYNOPSIS.B #include <stdio.h>.PP.B setbuf(stream, buf).br.SM.B FILE.B *stream;.br.B char *buf;.SH DESCRIPTION.I Setbufis used after a stream has been opened but before itis read or written.It causes the character array.I bufto be used instead of an automatically allocated buffer.If.I bufis the constant pointer.SM.B NULL,input/output will be completely unbuffered..PPA manifest constant .SM.B BUFSIZtells how big an array is needed:.PP.in +10char buf[BUFSIZ];.PPA buffer is normally obtained from.IR  malloc (3)upon the first.I getcor.IR  putc (3)on the file,except that output streams directed to terminals,and the standard error stream.I stderrare normally not buffered..SH "SEE ALSO"fopen(3), getc(3), putc(3), malloc(3)

⌨️ 快捷键说明

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