Query: ungetc_unlo
OS: hpux
Section: 3s
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ungetc(3S) ungetc(3S)NAMEungetc() - push character back into input streamSYNOPSISObsolescent InterfaceDESCRIPTIONinserts the character c (converted to an unsigned char) into the buffer associated with an input stream. That character, c, is returned by the next call to (see getc(3S)) on that stream. A successful intervening call to a file positioning function with stream or erases all memory of the inserted characters. affects only the buffer associated with the input stream. It does not affect the contents of the file corresponding to stream. One character of pushback is guaranteed. If c equals EOF, does nothing to the buffer and returns EOF. Obsolescent Interface pushes character back into input stream.APPLICATION USAGEAfter is applied to a stream, the stream becomes byte-oriented (see orientation(5)).RETURN VALUEIf successful, and return c and clear the end-of-file indicator for the stream. and return EOF if they cannot insert the character.WARNINGSis an obsolescent interface supported only for compatibility with existing DCE applications. New multithreaded applications should useSEE ALSOflockfile(3S), fseek(3S), fgetpos(3S), getc(3S), setbuf(3S), orientation(5), thread_safety(5).STANDARDS CONFORMANCEungetc(3S)
Related Man Pages |
---|
fgetc(3) - redhat |
fgets(3) - redhat |
ungetc(3s) - hpux |
ungetc(3) - netbsd |
ungetc(3c) - sunos |
Similar Topics in the Unix Linux Community |
---|
How to find EOF character in a Shell ? |
\n after EOF |
How to input EOF from Windows connected to Unix maxhine via SSH |
Poly character into mono character |
Creating a file from input stream |