*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: ungetc | Section: 3 | Source: UNIX v7 | File: ungetc.3s
UNGETC(3S) UNGETC(3S) NAME ungetc - push character back into input stream SYNOPSIS #include <stdio.h> ungetc(c, stream) FILE *stream; DESCRIPTION Ungetc pushes the character c back on an input stream. That character will be returned by the next getc call on that stream. Ungetc returns c. One character of pushback is guaranteed provided something has been read from the stream and the stream is actually buffered. Attempts to push EOF are rejected. Fseek(3) erases all memory of pushed back characters. SEE ALSO getc(3), setbuf(3), fseek(3) DIAGNOSTICS Ungetc returns EOF if it can't push a character back. UNGETC(3S)

Navigation Options