(somewhat offtopic) 

> From: owner-openssl-us...@openssl.org On Behalf Of Jeremy Farrell
> Sent: Saturday, 26 May, 2012 20:29

> > From: Jakob Bohm [mailto:jb-open...@wisemo.com]

> > Which version of the ANSI Spec, and where did you get a copy?
> 
> I quoted from C99 in a recent message; can't remember where I 
> got it (12 years ago ...), perhaps Techstreet. There are 
> 'final drafts' of C99 and C11 legally available for free on 
> the web I believe.
> 
ANSI generally sells the official versions of computer standards 
(specifically those under jurisdiction of INCITS-formerly-ASCX3) 
in PDF for individual use for USD 30 at webstore.ansi.org .
(Years ago, including 2000 when I bought C99, it was USD 18.)
Right now they have both 9899-1999 (C99) and 9899-2011* (C11) 
which was just adopted (and not yet implemented that I know of) 
but this probably won't last long. Note you must select the 
INCITS version; the other (here BSI and ISO/IEC) versions have 
identical content but are much more costly for legal reasons.
(* The ISO/IEC adoption of C11 was very late in the year, and so 
the INCITS=ANSI=US formal adoption was in 2012. This seems to 
have resulted in a confusing listing on webstore; the INCITS 
2011[2012] link doesn't work and the INCITS 2012 link is 2011.)

The committee (formally, Working Group 14 of SubCommittee 22 of 
ISO/IEC JTC1) website is http://www.open-std.org/jtc1/sc22/wg14/ .
They publish numerous working documents, including periodic 
(usually once or twice a year) updated drafts of the standard, 
all identified by (roughly) sequential "n" numbers.

n869 cited elsethread was indeed the last draft before C99. 
n1256 was the starting draft for C11, and consisted of C99 
as amended by the three Technical Corrigenda and thus is a 
rather convenient reference to what "C99 really is", except 
for two minor typos which the editor Lawrence Jones posted 
to comp.lang.c some years ago but a quick google didn't find.
n1570 was the last draft before C11, if you're interested where 
C may be going (or not) in the future. (Also n1569 nonpublic?) 

Formally the committee documents are copyright, and years ago they 
had a statement on the website to the effect they were published 
"only for purposes advancing standardization of C" or something 
pretty vague like that, but I find no such statement there now 
and people in comp.lang.c (and also comp.std.c) have for years 
frequently cited the standard drafts and sometimes other committee 
documents and there have never been any complaints about doing so.

> Various revisions of POSIX are available free for reference 
> online; the current POSIX.1-2008 at 
> http://pubs.opengroup.org/onlinepubs/9699919799/ and the 
> older POSIX.1-2004 at http://pubs.opengroup.org/onlinepubs/009695399/
> 
That too. Although POSIX duplicates some information from 
the C standard(s) but formally says if the POSIX copy differs 
from the actual C standard the actual C standard prevails.
Most of POSIX, of course, is *addditional* to the C standard 
and in those areas it is definitive.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to