Annotation of 43BSDTahoe/man/man3/atof.3, revision 1.1.1.1

1.1       root        1: .\"    @(#)atof.3      6.1 (Berkeley) 5/15/85
                      2: .\"
                      3: .TH ATOF 3  "May 15, 1985"
                      4: .AT 3
                      5: .SH NAME
                      6: atof, atoi, atol \- convert ASCII to numbers
                      7: .SH SYNOPSIS
                      8: .nf
                      9: .B double atof(nptr)
                     10: .B char *nptr;
                     11: .PP
                     12: .B atoi(nptr)
                     13: .B char *nptr;
                     14: .PP
                     15: .B long atol(nptr)
                     16: .B char *nptr;
                     17: .fi
                     18: .SH DESCRIPTION
                     19: These functions convert a string pointed to by
                     20: .I nptr
                     21: to floating, integer, and long integer representation respectively.
                     22: The first unrecognized character ends the string.
                     23: .PP
                     24: .I Atof
                     25: recognizes an optional string of spaces, then an optional sign, then
                     26: a string of digits optionally containing a decimal
                     27: point, then an optional `e' or `E' followed by an optionally signed integer.
                     28: .PP
                     29: .I Atoi
                     30: and
                     31: .I atol
                     32: recognize an optional string of spaces, then an optional sign, then a
                     33: string of
                     34: digits.
                     35: .SH SEE ALSO
                     36: scanf(3S)
                     37: .SH BUGS
                     38: There are no provisions for overflow.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.