|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 877 (0x36d)
Types: TextFile
Notes: UNIX file
Names: »atof.3«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/man/man3/atof.3«
.ig @(#)atof.3 2.1 7/1/84 @(#)Copyright (C) 1983 by National Semiconductor Corp. .. .TH ATOF 3 .SH NAME atof, atoi, atol \- convert ASCII to numbers .SH SYNOPSIS .nf .B double atof(nptr) .B char *nptr; .PP .B atoi(nptr) .B char *nptr; .PP .B long atol(nptr) .B char *nptr; .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 .I Atof recognizes an optional string of tabs and 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 .I Atoi and .I atol recognize an optional string of tabs and spaces, then an optional sign, then a string of digits. .SH SEE ALSO scanf(3) .SH BUGS There are no provisions for overflow.