From owner-freebsd-bugs Thu Feb 26 09:52:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA22922 for freebsd-bugs-outgoing; Thu, 26 Feb 1998 09:52:56 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from alpha.xerox.com (firewall-user@alpha.Xerox.COM [13.1.64.93]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA22909 for ; Thu, 26 Feb 1998 09:52:55 -0800 (PST) (envelope-from fenner@parc.xerox.com) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <53219(5)>; Thu, 26 Feb 1998 09:43:37 PST Received: by crevenia.parc.xerox.com id <177476>; Thu, 26 Feb 1998 09:43:04 -0800 From: Bill Fenner To: aryeh@void.rad-inet.com, freebsd-bugs@hub.freebsd.org Subject: Re: misc/5856 Message-Id: <98Feb26.094304pst.177476@crevenia.parc.xerox.com> Date: Thu, 26 Feb 1998 09:43:01 PST Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >This should be better doced in various places since I used to k&r where >if no proto for a lib is found it assumes it is the same ret type as ther >caller "expects" it to be K&R requires return value declarations when the return value isn't a (promoted) int. Section 4.2 ("Functions Returning Non-Integers") of "The C Programming Language" (1st ed.) goes into more detail; specifically, at the bottom of page 69, Second, and just as important, the *calling* routine must state that atof returns a non-int value. (emphasis theirs) Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message