Solved

questions

Posted on 2011-02-23
5
408 Views
Last Modified: 2012-05-11
how do the following standards relate: ISO-C, POSIX,XSI,SUS.
can you give an example of a specific POSIX requirement
0
Comment
Question by:crazy4s
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 

Author Comment

by:crazy4s
ID: 34965029
but how these four are related to each other?
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 34965330
That would be a long essay in itself.  You need to read the articles and maybe more to understand the ways they are related.
0
 
LVL 32

Accepted Solution

by:
phoffric earned 250 total points
ID: 34967485
ISO "International Organization for Standardization) is an international-standard-setting body composed of representatives from various national standards organizations." Once an ISO document with a name has been written, then a product may claim to conform to this document (with exceptions noted). Then all users of the product have confidence that the product will serve in a specified way. Often there is some verification process to assure conformance.

Then a compiler that says it is ISO-C compliant assures the reader that a program written for this compiler will, in fact, compile on another platform whose compiler also claims to be ISO-C compliant. But, as you may know, the program may not work on another platform due to other issues (e.g., endianness, size of an int). However, this compliance improves the probability that the program will work as desired and reduces the amount of code changes necessary when porting to another platform.


XSI

According to the above link, XSI is "X/Open System Interfaces Extension, a supplementary specification to the Single UNIX Specification" (i.e., SUS).

SUS

"The SUS emerged from a mid-1980s project to standardize operating system interfaces for software designed for variants of the Unix operating system."

It wasn't enough to just standardize the C language. OS interfaces also needed to be standardized to promote ease of portability.


POSIX is one of these standards to improve portability. For example, it provides a uniform approach in handling multi-threading by providing additional POSIX libraries with a uniform API to the C (and C++) language. So, a multi-threaded program on one POSIX compliant OS should port fairly well to another similar OS.
0
 

Author Comment

by:crazy4s
ID: 34970000
thanks:)
0

Featured Post

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

631 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question