For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > October 2004 > UNIX programming standards.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author UNIX programming standards.
be_qanda

2004-10-18, 9:00 am

I've heard of things like POSIX, IEEE, ANSI/ISO, XPG; I'm sure there
are many others. Would anyone be able to give me a complete list of
what UNIX programming standards exist at the moment. I'm looking for
a complete list of all the standards that exist and what versions of
those standards would be relevant for UNIX programming today.

For example I believe XPGn is a UNIX specific programming standard,
the latest version would be useful for new implementations, however
what older versions would be usuful for existing maintenence work? If
possible it would also be good to know where to get the standards
from, or where to find more information on them.

Thanks.
Pascal Bourguignon

2004-10-18, 9:00 am

be_qanda@yahoo.com (be_qanda) writes:

> I've heard of things like POSIX, IEEE, ANSI/ISO, XPG; I'm sure there
> are many others. Would anyone be able to give me a complete list of
> what UNIX programming standards exist at the moment. I'm looking for
> a complete list of all the standards that exist and what versions of
> those standards would be relevant for UNIX programming today.
>
> For example I believe XPGn is a UNIX specific programming standard,
> the latest version would be useful for new implementations, however
> what older versions would be usuful for existing maintenence work? If
> possible it would also be good to know where to get the standards
> from, or where to find more information on them.


A good way to gather perhaps 70% of the standards, and at least 90% of
the pertinent ones, would be to scan the linux man pages, section
"CONFORMING TO", where the adopted standard are listed.

--
__Pascal Bourguignon__ http://www.informatimago.com/

Voting Democrat or Republican is like choosing a cabin in the Titanic.
Thomas Dickey

2004-10-18, 8:56 pm

Pascal Bourguignon <spam@mouse-potato.com> wrote:

> A good way to gather perhaps 70% of the standards, and at least 90% of
> the pertinent ones, would be to scan the linux man pages, section
> "CONFORMING TO", where the adopted standard are listed.


However, the other 10-30% contains incorrect claims of conformance to
the same standards...

(this problem is true of manpages on any system ;-)

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Barry Margolin

2004-10-18, 8:56 pm

In article <b3664232.0410180143.59b0c854@posting.google.com>,
be_qanda@yahoo.com (be_qanda) wrote:

> I've heard of things like POSIX, IEEE, ANSI/ISO, XPG; I'm sure there
> are many others. Would anyone be able to give me a complete list of
> what UNIX programming standards exist at the moment. I'm looking for
> a complete list of all the standards that exist and what versions of
> those standards would be relevant for UNIX programming today.


Unix programming books often have a detailed taxonomy of these standards
in their introductions. I haven't read Rich Teer's new book, but I'll
bet he has a good one that's up to date.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
Rich Teer

2004-10-19, 4:01 am

On Mon, 18 Oct 2004, Barry Margolin wrote:

> Unix programming books often have a detailed taxonomy of these standards
> in their introductions. I haven't read Rich Teer's new book, but I'll
> bet he has a good one that's up to date.


Thanks for the plug, Barry. Yes, my book does describe the key
standards: ISO C, SVID, POSIX 1003.1 and 1003.2, XPG4, and (most
importantly, arguably) versions 1 to 3 of the Single UNIX Spec.

It also contains a large (10+ page) table summarizing the 540 or
so functions I describe, showing (in addition to other things)
what standard(s) a function is from. The book also shows (and this
is admittedly Solaris specific) which versions of Solaris conform
with what standards, and how to compile applications that conform
to a given standard.

--
Rich Teer, SCNA, SCSA, author of "Solaris Systems Programming",
published in August 2004.

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich
be_qanda

2004-10-19, 9:05 am

Barry Margolin <barmar@alum.mit.edu> wrote in message news:<barmar-4C9567.20374418102004@comcast.dca.giganews.com>...
>
> Unix programming books often have a detailed taxonomy of these standards
> in their introductions. I haven't read Rich Teer's new book, but I'll
> bet he has a good one that's up to date.


Yes, I have Stevens APUE, but I was hoping for a 'complete' list of
standards to make sure I don't miss any. I don't know Rich Teer's
book - details please.

Thanks.
Chris McDonald

2004-10-19, 9:05 am

be_qanda@yahoo.com (be_qanda) writes:

>Yes, I have Stevens APUE, but I was hoping for a 'complete' list of
>standards to make sure I don't miss any. I don't know Rich Teer's
>book - details please.


How hard did you look?

http://www.amazon.com/exec/obidos/t...585636?v=glance

--
Chris.
Barry Margolin

2004-10-19, 9:05 am

In article <b3664232.0410190027.49b8140c@posting.google.com>,
be_qanda@yahoo.com (be_qanda) wrote:

> Barry Margolin <barmar@alum.mit.edu> wrote in message
> news:<barmar-4C9567.20374418102004@comcast.dca.giganews.com>...
>
> Yes, I have Stevens APUE, but I was hoping for a 'complete' list of
> standards to make sure I don't miss any. I don't know Rich Teer's
> book - details please.


He's only been mentioning it in every one of his posts in the
comp.unix.* newsgroups for ws.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
Rich Teer

2004-10-19, 3:58 pm

On Tue, 19 Oct 2004, be_qanda wrote:

> Yes, I have Stevens APUE, but I was hoping for a 'complete' list of
> standards to make sure I don't miss any. I don't know Rich Teer's
> book - details please.


All details, including the comlete TOC, index, preface, and a
sample chapter, can be found from the book's site:

www.rite-group.com/rich/ssp

HTH,

--
Rich Teer, SCNA, SCSA, author of "Solaris Systems Programming",
published in August 2004.

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich
Bjorn Reese

2004-10-19, 3:58 pm

On Mon, 18 Oct 2004 02:43:28 -0700, be_qanda wrote:

> I've heard of things like POSIX, IEEE, ANSI/ISO, XPG; I'm sure there
> are many others. Would anyone be able to give me a complete list of
> what UNIX programming standards exist at the moment. I'm looking for
> a complete list of all the standards that exist and what versions of
> those standards would be relevant for UNIX programming today.


The most current standards are:

o Single Unix Specification (SUS)
This describes the Unix API.
o ANSI/ISO C/C++.
This describes the C and C++ programming languages.

For a reasonably good, albeit short, overview of the various
standards, see:

http://petef.port5.com/c/portability.txt

You may also want to look at:

http://predef.sourceforge.net/

> For example I believe XPGn is a UNIX specific programming standard,
> the latest version would be useful for new implementations, however
> what older versions would be usuful for existing maintenence work? If


It depends on which version of what platforms you are going to
support. However, I am not aware of any table showing the mapping
between platforms and standards (although it doesn't sound like
a difficult thing to make -- just a little time consuming.)

> possible it would also be good to know where to get the standards
> from, or where to find more information on them.


See:

http://www.opengroup.org/austin/pap...e_unix_faq.html

--
mail1dotstofanetdotdk

be_qanda

2004-10-20, 3:56 am

Big thanks to everyone, I've got what I needed now.

I didn't know about Teer's book as I'm not a regular visitor and have
been away from programming for a couple of years - I'll get the book
shortly.

Thanks again.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com