Annotation of researchv10dc/man/adm/man3/ungetc.3, revision 1.1

1.1     ! root        1: .TH UNGETC 3S
        !             2: .CT 2 file_io
        !             3: .SH NAME
        !             4: ungetc \(mi push character back into input stream
        !             5: .SH SYNOPSIS
        !             6: .B #include <stdio.h>
        !             7: .PP
        !             8: .B ungetc(c, stream)
        !             9: .br
        !            10: .SM
        !            11: .B FILE
        !            12: .B *stream;
        !            13: .SH DESCRIPTION
        !            14: .I Ungetc
        !            15: pushes the character
        !            16: .I c
        !            17: back on an input stream.
        !            18: That character will be returned by the next
        !            19: .I getc
        !            20: call on that stream.
        !            21: .I Ungetc
        !            22: returns
        !            23: .IR c .
        !            24: .PP
        !            25: One character of pushback is guaranteed provided
        !            26: something has been read from the stream and the stream is
        !            27: actually buffered.
        !            28: Attempts to push
        !            29: .B EOF
        !            30: are rejected.
        !            31: .SH "SEE ALSO"
        !            32: .IR getc (3), 
        !            33: .IR stdio (3), 
        !            34: .IR fseek (3)
        !            35: .SH DIAGNOSTICS
        !            36: .I Ungetc
        !            37: returns
        !            38: .B EOF
        !            39: if it can't push a character back.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.