Date: Thu, 26 Feb 1998 09:43:01 PST From: Bill Fenner <fenner@parc.xerox.com> To: aryeh@void.rad-inet.com, freebsd-bugs@hub.freebsd.org Subject: Re: misc/5856 Message-ID: <98Feb26.094304pst.177476@crevenia.parc.xerox.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98Feb26.094304pst.177476>