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
scanf.c
Package: tb_i86_wr_1019_1102. [view]
Upload User: super_houu
Upload Date: 2008-09-21
Package Size: 4099k
Code Size: 1k
Category:
DVD
Development Platform:
Others
- /*
- * Paradigm C/C++ Run-Time Library - Version 5.0
- *
- * Copyright (c) 1998 Paradigm Systems. All rights reserved.
- * Portions Copyright (c) 1996 Borland International.
- *
- * $Revision: 3 $
- * $Workfile: scanf.c $
- *
- * function(s)
- * scanf - gets formatted input from stdin
- */
- #include "Config.h" // Global Configuration - do not remove!
- #if defined(_DEBUG) || defined(D_RELEASE_TRACE_ENABLED) // ZKR GL051004
- #include "CpuV186tserio.h"
- #include <stdarg.h>
- #include <stdio.h>
- #undef ungetc /* remove the macro version */
- /*---------------------------------------------------------------------*
- Name scanf - gets formatted input from stdin
- Usage int scanf(const char *format[, argument ...])
- Prototype in stdio.h
- Description gets formatted input from stdin
- Return value number of fields scanned and stored. scanf returns EOF
- if an attempt is made to read at end-of-file
- *---------------------------------------------------------------------*/
- #pragma codeseg _TEXT "CODE"
- int _RTLENTRY _FARFUNC scanf(const char *fmt, ...)
- {
- char zString[RECEIVE_STRING_SIZE_LIMIT];
- gets (zString);
- return vsscanf(zString,fmt,_va_ptr);
- }
- #endif // #if defined(_DEBUG) || defined(D_RELEASE_TRACE_ENABLED) // ZKR GL051004