From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: "Douglas A. Gwyn" Message-ID: <3E5CE9E6.8C15961B@null.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: Subject: Re: [9fans] erf etc Date: Wed, 26 Feb 2003 16:33:53 +0000 Topicbox-Message-UUID: 73399742-eacb-11e9-9e20-41e7f4b1d025 Steve Simon wrote: > erf, y[01n], j[01n], and gamma are all in the APE maths library on Plan9 > Those who know about standards may disagree but shouldn't their > prototypes go in maths.h Sure, just so long as they don't get declared by default in . You may not have been around for the big problem we had on Unix variants with "name space pollution" in the system headers. Cleaning that up was one of the important goals of the C standard. Now the rule is: standard headers define & declare only what the standard says they do, with a couple of classes of names reserved (e.g. is* in ), except that implementations have a set of names starting with underscore that they can add if they think they have some need to do so. In other words, if you add functions, use a new header.