Xref: utzoo comp.unix.questions:26222 comp.unix.sysv386:1213 Path: utzoo!attcan!uunet!comtst!teqsoft!jmc From: jmc@teqsoft.UUCP (Jack Cloninger) Newsgroups: comp.unix.questions,comp.unix.sysv386 Subject: Re: atof() in SCO UNIX DEV Message-ID: <29@teqsoft.UUCP> Date: 14 Oct 90 16:49:12 GMT References: <1990Oct09.133730.478@pemstgt.gtc.de> <7944@star.cs.vu.nl> Followup-To: comp.unix.questions Distribution: comp Organization: TeqSoft, 112 N Highway 1, Tequesta, FL 33469 (407-747-7163): Document Processing Lines: 26 rvdp@cs.vu.nl (=Ronald van der Pol) writes: >tb@pemstgt.gtc.de (Tillmann Basien) writes: >| I have SCO UNIX Version 3.2.0 with Development Kit. >| The atof()-function does not work proberly. Is there a work-a-round >| of this problem? >| > SCO UNIX has an ANSI C compiler. ANSI C's atof() is decared > in "stdlib.h". IMHO the problem here is documentation. The SCU Unix System V/386 Development System Programmer's Reference manual manual page for ATOF(S) gives the following syntax description: #include double atof(nptr) char *nptr; The entry for "atoi" and "atol" give the correct include file, which is as Mr. van der Pol states, "stdlib.h." Mr. Basien did everything correctly according to the manual, but was simply bitten by a documentation error. -- Jack Cloninger, TeqSoft, 112 US Highway 1, Tequesta, FL 33469 B-) ...uunet!comtst!teqsoft!jmc Phone: 407-747-7163 Fax: 407-747-0354