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
ATOF.3
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:
OS Develop
Development Platform:
WINDOWS
- ." @(#)atof.3 6.1 (Berkeley) 5/15/85
- ."
- .TH ATOF 3 "May 15, 1985"
- .AT 3
- .SH NAME
- atof, atoi, atol - convert ASCII to numbers
- .SH SYNOPSIS
- .nf
- .ft B
- #include <stdlib.h>
- double atof(const char *fInptrfP)
- int atoi(const char *fInptrfP)
- long atol(const char *fInptrfP)
- .ft R
- .fi
- .SH DESCRIPTION
- These functions convert a string pointed to by
- .I nptr
- to floating, integer, and long integer representation respectively.
- The first unrecognized character ends the string.
- .PP
- .B Atof
- recognizes an optional string of spaces, then an optional sign, then
- a string of digits optionally containing a decimal
- point, then an optional `e' or `E' followed by an optionally signed integer.
- .PP
- .B Atoi
- and
- .B atol
- recognize an optional string of spaces, then an optional sign, then a
- string of
- digits.
- .SH SEE ALSO
- .BR strtol (3),
- .BR strtod (3),
- .BR scanf (3).
- .SH BUGS
- There are no provisions for overflow.