ungetc.3s
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3S 代码 · 共 35 行
3S
35 行
.\" SCCSID: @(#)ungetc.3s 8.1 9/11/90.TH ungetc 3s .SH Nameungetc \- push character back into input stream.SH Syntax.B #include <stdio.h>.PP.B ungetc\^(\fIc, stream\fP).br.B FILE \fI*stream\fP;.SH Description.NXR "ungetc subroutine".NXR "stream" "pushing character back"The.PN ungetcroutine pushes the character \fIc\fP back on an input stream. That characterwill be returned by the next.PN getccall on that stream. The.PN ungetc routine returns \fIc\fP. One character of pushback is guaranteed in all cases..PPThe.MS fseek 3sroutine erases all memory of pushed back characters..SH DiagnosticsThe.PN ungetcroutine returns EOFif it cannot push a character back..SH EnvironmentIn POSIX mode, the file's EOF indicator is cleared..SH See Alsofseek(3s), getc(3s), setbuf(3s)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?