Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
UNGETC.3
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:
OS Develop
Development Platform:
WINDOWS
- ." @(#)ungetc.3s 6.1 (Berkeley) 5/15/85
- ."
- .TH UNGETC 3 "May 15, 1985"
- .AT 3
- .SH NAME
- ungetc - push character back into input stream
- .SH SYNOPSIS
- .nf
- .ft B
- #include <stdio.h>
- int ungetc(int fIcfP, FILE *fIstreamfP)
- .ft R
- .fi
- .SH DESCRIPTION
- .B Ungetc
- pushes the character
- .I c
- back on an input stream. That character will be returned by the next
- .B getc
- call on that stream.
- .B Ungetc
- returns
- .IR c .
- .PP
- 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.
- .PP
- .BR Fseek (3)
- erases all memory of pushed back characters.
- .SH "SEE ALSO"
- .BR getc (3),
- .BR setbuf (3),
- .BR fseek (3).
- .SH DIAGNOSTICS
- .B Ungetc
- returns
- .SM
- .B EOF
- if it can't push a character back.